Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff: cache textconv output
[gitweb.git]
/
t
/
t5510-fetch.sh
diff --git
a/t/t5510-fetch.sh
b/t/t5510-fetch.sh
index 169af1edde557f054ea76b8de681c6dd74e436f2..721821ec92e476ed9a16222bc49b72f2fd9b2c68 100755
(executable)
--- a/
t/t5510-fetch.sh
+++ b/
t/t5510-fetch.sh
@@
-341,6
+341,13
@@
test_expect_success 'fetch into the current branch with --update-head-ok' '
'
+test_expect_success 'fetch --dry-run' '
+
+ rm -f .git/FETCH_HEAD &&
+ git fetch --dry-run . &&
+ ! test -f .git/FETCH_HEAD
+'
+
test_expect_success "should be able to fetch with duplicate refspecs" '
mkdir dups &&
cd dups &&