summaryrefslogtreecommitdiff
path: root/test-line-buffer.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-09-17 16:17:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-17 21:50:26 -0700
commit7171d8c15f919c760d52f814a0aee1b1253385b1 (patch)
tree55e34319af1d9155119cbf6de0ccf2852f08ffb0 /test-line-buffer.c
parentupload-pack.c: do not pass confusing cb_data to mark_our_ref() (diff)
downloadtgif-7171d8c15f919c760d52f814a0aee1b1253385b1.tar.xz
upload-pack: send symbolic ref information as capability
One long-standing flaw in the pack transfer protocol was that there was no way to tell the other end which branch "HEAD" points at. With a capability "symref=HEAD:refs/heads/master", let the sender to tell the receiver what symbolic ref points at what ref. This capability can be repeated more than once to represent symbolic refs other than HEAD, such as "refs/remotes/origin/HEAD"). Add an infrastructure to collect symbolic refs, format them as extra capabilities and put it on the wire. For now, just send information on the "HEAD" and nothing else. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-line-buffer.c')
0 files changed, 0 insertions, 0 deletions