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

Signed-off-by: Michael Haggerty <>
 t/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/ b/t/
index 1f0f8e6..c5e5dfc 100755
--- a/t/
+++ b/t/
@@ -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' '

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Reply via email to