summaryrefslogtreecommitdiff
path: root/advice.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-03-15 17:31:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-15 19:01:09 (GMT)
commit884e586f9ef46406263720523377298a90b41065 (patch)
treea0820c4e8d8a85031c73f9d30ec92213001e2450 /advice.c
parent8ff14ed4127decbee3116aba59d7f8f897c4fe3b (diff)
downloadgit-884e586f9ef46406263720523377298a90b41065.zip
git-884e586f9ef46406263720523377298a90b41065.tar.gz
git-884e586f9ef46406263720523377298a90b41065.tar.bz2
http: don't always add Git-Protocol header
Instead of always sending the Git-Protocol header with the configured version with every http request, explicitly send it when discovering refs and then only send it on subsequent http requests if the server understood the version requested. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.c')
0 files changed, 0 insertions, 0 deletions