Re: [RFC 2/2] Add Git-aware CGI for Git-aware smart HTTP transport
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 3, 2008, 22:16 UTC
- Message-ID
- <7vwsix7nhw.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1217748317-70096-2-git-send-email-spearce@spearce.org>
I very much like it.
But could you be a bit more explicit than application/x-git-refs magic? I suspect very strongly that clueless server operators would advertise the type on repositories statically hosted there, and would defeat the point of your patch.
We are not changing update-server-info so if we can find a place we can use to hide the "magic", it would be a much more robust.
Perhaps "#" comment line in info/refs that is ignored on the reading side but update-server-info never generates on its own?
Or perhaps sort the output differently from how update-server-info produces its output, so that older client would not care but the magic aware client can notice?