Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jh/fetch-head-update'
[gitweb.git]
/
t
/
t5700-clone-reference.sh
diff --git
a/t/t5700-clone-reference.sh
b/t/t5700-clone-reference.sh
index 895f5595aee9341276e79497b9c4a8736c78e5e7..c4c375ac042bbb7f58998c87d8c9277d2f5004a6 100755
(executable)
--- a/
t/t5700-clone-reference.sh
+++ b/
t/t5700-clone-reference.sh
@@
-146,4
+146,11
@@
test_expect_success 'cloning with reference being subset of source (-l -s)' \
cd "$base_dir"
+test_expect_success 'clone with reference from a tagged repository' '
+ (
+ cd A && git tag -a -m 'tagged' HEAD
+ ) &&
+ git clone --reference=A A I
+'
+
test_done