summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7cc91a2)
raw | patch | inline | side by side (parent: 7cc91a2)
author | Björn Gustavsson <bgustavsson@gmail.com> | |
Mon, 9 Nov 2009 20:11:59 +0000 (21:11 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 10 Nov 2009 09:01:07 +0000 (01:01 -0800) |
Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5505-remote.sh | patch | blob | history |
diff --git a/t/t5505-remote.sh b/t/t5505-remote.sh
index 852ccb5d7d649a71eeab25eadce6940b9c2a6f63..e931ce6c69c8819b4273e0c81eb17bf8d8eacc5d 100755 (executable)
--- a/t/t5505-remote.sh
+++ b/t/t5505-remote.sh
'
+test_expect_success 'update --prune' '
+
+ (cd one &&
+ git branch -m side2 side3) &&
+ (cd test &&
+ git remote update --prune &&
+ (cd ../one && git branch -m side3 side2)
+ git rev-parse refs/remotes/origin/side3 &&
+ test_must_fail git rev-parse refs/remotes/origin/side2)
+'
+
cat > one/expect << EOF
apis/master
apis/side