X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5700-clone-reference.sh;h=c4c375ac042bbb7f58998c87d8c9277d2f5004a6;hb=05c65cb1161f232c65b186d6d6eb3bce9c6a0924;hp=895f5595aee9341276e79497b9c4a8736c78e5e7;hpb=8327ee8677e3cdee4fc3563b9e5565405068e41e;p=git.git diff --git a/t/t5700-clone-reference.sh b/t/t5700-clone-reference.sh index 895f5595a..c4c375ac0 100755 --- 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