summaryrefslogtreecommitdiff
path: root/t/t5601-clone.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-08-03 11:01:16 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-03 11:01:16 -0700
commit0b9ce18ede8343116f4e5f008c05169f69cafc07 (patch)
tree45791aaa1d553924c74d1a01ffa10dfd463a1adb /t/t5601-clone.sh
parentMerge branch 'mr/rebase-i-customize-insn-sheet' (diff)
parentpkt-line: support tracing verbatim pack contents (diff)
downloadtgif-0b9ce18ede8343116f4e5f008c05169f69cafc07.tar.xz
Merge branch 'jk/pkt-log-pack'
Enhance packet tracing machinery to allow capturing an incoming pack data to a file for debugging. * jk/pkt-log-pack: pkt-line: support tracing verbatim pack contents pkt-line: tighten sideband PACK check when tracing pkt-line: simplify starts_with checks in packet tracing
Diffstat (limited to 't/t5601-clone.sh')
-rwxr-xr-xt/t5601-clone.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh
index bfdaf75966..9b34f3c615 100755
--- a/t/t5601-clone.sh
+++ b/t/t5601-clone.sh
@@ -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