aboutsummaryrefslogtreecommitdiff
path: root/pack-revindex.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-09-21 15:15:17 -0700
committerJunio C Hamano <gitster@pobox.com>2016-09-21 15:15:18 -0700
commit07d872434dbddef6c361fb77ed232081c35dfd6c (patch)
treed67f132eff5e84c6264c154fb1147ada05ff784f /pack-revindex.c
parentf6727b0509ec3417a5183ba6e658143275a734f5 (diff)
parenteb398797cdc97aae15419f5ac1316440936c31f1 (diff)
downloadgit-07d872434dbddef6c361fb77ed232081c35dfd6c.tar.gz
git-07d872434dbddef6c361fb77ed232081c35dfd6c.tar.xz
Merge branch 'jt/accept-capability-advertisement-when-fetching-from-void'
JGit can show a fake ref "capabilities^{}" to "git fetch" when it does not advertise any refs, but "git fetch" was not prepared to see such an advertisement. When the other side disconnects without giving any ref advertisement, we used to say "there may not be a repository at that URL", but we may have seen other advertisement like "shallow" and ".have" in which case we definitely know that a repository is there. The code to detect this case has also been updated. * jt/accept-capability-advertisement-when-fetching-from-void: connect: advertized capability is not a ref connect: tighten check for unexpected early hang up tests: move test_lazy_prereq JGIT to test-lib.sh
Diffstat (limited to 'pack-revindex.c')
0 files changed, 0 insertions, 0 deletions