summaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-09-17 21:45:34 -0700
committerJunio C Hamano <gitster@pobox.com>2013-09-17 21:45:34 -0700
commita4dfee06806df64b7a44866f67f15b54567ec722 (patch)
tree483404c20e3cacd6535ad9af923cf9260af6eecd /upload-pack.c
parente230c568c4b9a991e3175e5f65171a566fd8e39c (diff)
downloadgit-a4dfee06806df64b7a44866f67f15b54567ec722.tar.gz
t5505: fix "set-head --auto with ambiguous HEAD" test
When two or more branches point at the same commit and HEAD is pointing at one of them, without the symref extension, there is no way to remotely tell which one of these branches HEAD points at. The test in question attempts to make sure that this situation is diagnosed and results in a failure. However, even if there _were_ a way to reliably tell which branch the HEAD points at, "set-head --auto" would fail if there is no remote tracking branch. Make sure that this test does not fail for that "wrong" reason. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions