[PATCH 1/1] print git version string in footer
Christian Hesse
list at eworm.de
Mon Jun 4 22:59:46 CEST 2018
"Jason A. Donenfeld" <Jason at zx2c4.com> on Mon, 2018/06/04 22:51:
> Hey Christian,
Hey Jason,
> I like this idea and I'll probably merge it, because it seems handy.
> On the other hand, there's some argument to be made for not wearing
> your security bugs on your sleeves by revealing version numbers by
> default. I'm wondering what motivated it for you, though.
Usually it is me who updates the git submodules. Often I run a local cgit
build with custom commits/patches. Sometimes I wonder what git version it was
built with. :-p So I decided to give it a try and added the version to footer.
I thought about security as well, but I do not think this is a big issue: Who
ever has the cgit version can look up the git version anyway. (Except for
builds from git with changed submodule).
On the other hand this brings potential security issues to the
administrators eyes... I think it is worth merging.
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];)
putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20180604/88140ea7/attachment-0001.asc>
More information about the CGit
mailing list