Skip to content

Commit 09dcde9

Browse files
committed
Merge branch 'jt/avoid-prefetch-when-able-in-diff'
Test-coverage enhancement. * jt/avoid-prefetch-when-able-in-diff: t4067: make rename detection test output raw diff
2 parents df0a5e4 + 293194c commit 09dcde9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t4067-diff-partial-clone.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ test_expect_success 'diff with rename detection batches blobs' '
125125
126126
# Ensure that there is exactly 1 negotiation by checking that there is
127127
# only 1 "done" line sent. ("done" marks the end of negotiation.)
128-
GIT_TRACE_PACKET="$(pwd)/trace" git -C client diff -M HEAD^ HEAD >out &&
129-
grep "similarity index" out &&
128+
GIT_TRACE_PACKET="$(pwd)/trace" git -C client diff --raw -M HEAD^ HEAD >out &&
129+
grep ":100644 100644.*R[0-9][0-9][0-9].*b.*c" out &&
130130
grep "git> done" trace >done_lines &&
131131
test_line_count = 1 done_lines
132132
'

0 commit comments

Comments
 (0)