Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tar-tree: remove deprecated command
[gitweb.git]
/
t
/
t5701-clone-local.sh
diff --git
a/t/t5701-clone-local.sh
b/t/t5701-clone-local.sh
index 7ff6e0e16cbeb014c1ea551392a63beca2dbc386..c4903687fbc801ffd1db9e619065996f97986ccb 100755
(executable)
--- a/
t/t5701-clone-local.sh
+++ b/
t/t5701-clone-local.sh
@@
-134,4
+134,8
@@
test_expect_success 'cloning a local path with --no-local does not hardlink' '
! repo_is_hardlinked force-nonlocal
'
+test_expect_success 'cloning locally respects "-u" for fetching refs' '
+ test_must_fail git clone --bare -u false a should_not_work.git
+'
+
test_done