Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/push-2.0-default-to-simple'
[gitweb.git]
/
t
/
t5601-clone.sh
diff --git
a/t/t5601-clone.sh
b/t/t5601-clone.sh
index 62fbd7e6649d9215528a83249f1b46735de2237d..5e67035be800b5cbec5a99dd9e3e458a343440df 100755
(executable)
--- a/
t/t5601-clone.sh
+++ b/
t/t5601-clone.sh
@@
-430,4
+430,11
@@
test_expect_success 'clone from a repository with two identical branches' '
'
+test_expect_success 'shallow clone locally' '
+ git clone --depth=1 --no-local src ssrrcc &&
+ git clone ssrrcc ddsstt &&
+ test_cmp ssrrcc/.git/shallow ddsstt/.git/shallow &&
+ ( cd ddsstt && git fsck )
+'
+
test_done