summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-03-15 10:31:39 -0700
committerJunio C Hamano <gitster@pobox.com>2018-03-15 12:01:09 -0700
commit884e586f9ef46406263720523377298a90b41065 (patch)
treea0820c4e8d8a85031c73f9d30ec92213001e2450 /commit.c
parent8ff14ed4127decbee3116aba59d7f8f897c4fe3b (diff)
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 'commit.c')
0 files changed, 0 insertions, 0 deletions