X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Finarchivecopy;fp=tests%2Ftests%2Finarchivecopy;h=fbd197dca7549f4d7bb00011f4f6b77396394035;hb=d50903862956d7091cc0851c8d518dd970ffcce4;hp=ed0bcae20639ba21145909be68e64486573fba11;hpb=fbc24ade1654c35ac59f8c6f4ebaaba0e65930ee;p=dgit.git diff --git a/tests/tests/inarchivecopy b/tests/tests/inarchivecopy index ed0bcae2..fbd197dc 100755 --- a/tests/tests/inarchivecopy +++ b/tests/tests/inarchivecopy @@ -38,14 +38,21 @@ copy-check () { git merge --ff-only dgit/dgit/stable copy-check-good + local fetched=$(t-sametree-parent HEAD) cd .. rm -rf example.cloned t-dgit clone $p stable example.cloned cd example.cloned + t-refs-same-start copy-check-good + local cloned=$(t-sametree-parent HEAD) cd .. + + t-refs-same-start + t-ref-same-val fetched $fetched + t-ref-same-val cloned $cloned } copy-check 2.0