]> git.ipfire.org Git - thirdparty/git.git/commit - http-backend.c
http: eliminate "# service" line when using protocol v2
authorBrandon Williams <bmwill@google.com>
Thu, 15 Mar 2018 17:31:40 +0000 (10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Mar 2018 19:01:09 +0000 (12:01 -0700)
commit237ffedd46098a5b8a303cfbac7ecb0ff3a8a7a7
tree640381b1d928b27093a4244fd9c1d128de900926
parent884e586f9ef46406263720523377298a90b41065
http: eliminate "# service" line when using protocol v2

When an http info/refs request is made, requesting that protocol v2 be
used, don't send a "# service" line since this line is not part of the
v2 spec.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-backend.c
remote-curl.c