X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5700-clone-reference.sh;h=c4c375ac042bbb7f58998c87d8c9277d2f5004a6;hb=f1c12e1b4af2eec4eefff9350b74601b36f51d85;hp=895f5595aee9341276e79497b9c4a8736c78e5e7;hpb=eb0e0dd5e6be4ce1254d200efe473ca7f56bca10;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