Signed-off-by: Dennis Kaarsemaker <[email protected]>
---
t/t5505-remote.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/t/t5505-remote.sh b/t/t5505-remote.sh
index dd10ff0..439e996 100755
--- a/t/t5505-remote.sh
+++ b/t/t5505-remote.sh
@@ -428,6 +428,15 @@ test_expect_success 'add alt && prune' '
git rev-parse --verify refs/remotes/origin/side2)
'
+test_expect_failure 'prune and overlapping refspecs' '
+ (git clone --mirror one prunetst &&
+ cd prunetst &&
+ git remote add two ../two &&
+ git fetch two &&
+ git remote prune origin &&
+ git rev-parse --verify refs/remotes/two/another)
+'
+
cat >test/expect <<\EOF
some-tag
EOF
--
1.8.3.1-619-gbec0aa7
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html