From mboxrd@z Thu Jan 1 00:00:00 1970 From: list at eworm.de (Christian Hesse) Date: Wed, 27 Nov 2013 17:17:05 +0100 Subject: [PATCH 1/1] enable cgit to show gravatar for author, committer and tagger In-Reply-To: <1385565437-15752-1-git-send-email-mail@eworm.de> References: <1385565437-15752-1-git-send-email-mail@eworm.de> Message-ID: <20131127171705.761e742d@leda.localdomain> Christian Hesse on Wed, 2013/11/27 16:17: > --- > cgit.c | 3 +++ > cgit.h | 5 +++++ > cgitrc.5.txt | 4 ++++ > parsing.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ > shared.c | 6 ++++++ > ui-commit.c | 10 ++++++++++ > ui-log.c | 5 +++++ > ui-refs.c | 10 ++++++++++ > ui-tag.c | 5 +++++ > 9 files changed, 95 insertions(+) This has some minor bugs, for example mail addresses have to be converted to lower case before hashing. And probably it makes sense to fetch smaller images than the default 80 pixel... However I would like to get some comments, I will update things when this (is going to be) merged upstream. Thanks! -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];) putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);} -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: not available URL: