Merge branch 'dt/untracked-sparse'
[gitweb.git] / t / t5601-clone.sh
index bfdaf75966f7b8bb057e4db0b8791306f6e6a44f..9b34f3c615df5080085b5f8cf956d2bac099d9d4 100755 (executable)
@@ -496,4 +496,11 @@ test_expect_success 'shallow clone locally' '
        ( cd ddsstt && git fsck )
 '
 
+test_expect_success 'GIT_TRACE_PACKFILE produces a usable pack' '
+       rm -rf dst.git &&
+       GIT_TRACE_PACKFILE=$PWD/tmp.pack git clone --no-local --bare src dst.git &&
+       git init --bare replay.git &&
+       git -C replay.git index-pack -v --stdin <tmp.pack
+'
+
 test_done