summaryrefslogtreecommitdiff
path: root/t/t5510-fetch.sh
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2013-10-23 15:50:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-10-24 20:27:45 (GMT)
commit2004658b19bf781d446e14e3237f519e80ab0297 (patch)
tree602f457cf9080a7ea25a4c495caf90dc12097bc6 /t/t5510-fetch.sh
parent3d092bfc6f2d9a998967979f926c661e9762601c (diff)
downloadgit-2004658b19bf781d446e14e3237f519e80ab0297.zip
git-2004658b19bf781d446e14e3237f519e80ab0297.tar.gz
git-2004658b19bf781d446e14e3237f519e80ab0297.tar.bz2
t5510: use the correct tag name in test
Fix an apparent copy-paste error: A few lines earlier, a tag "refs/tags/sometag" is created. Check for the (non-)existence of that tag, not "somebranch", which is otherwise never mentioned in the script. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5510-fetch.sh')
-rwxr-xr-xt/t5510-fetch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh
index 1f0f8e6..c5e5dfc 100755
--- a/t/t5510-fetch.sh
+++ b/t/t5510-fetch.sh
@@ -121,7 +121,7 @@ test_expect_success 'fetch --prune --tags does not delete the remote-tracking br
git fetch --prune --tags origin &&
git rev-parse origin/master &&
- test_must_fail git rev-parse somebranch
+ test_must_fail git rev-parse sometag
'
test_expect_success 'fetch --prune --tags with branch does not delete other remote-tracking branches' '