aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.diff_--patch-with-stat_initial..side
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-12-21 19:49:25 +0000
committerJunio C Hamano <gitster@pobox.com>2020-01-15 14:06:19 -0800
commit235d3cddb8b0149a4ee339602386af24bfad620d (patch)
tree74ad5a538bdf1be70c68a481fedd1e561b2c1006 /t/t4013/diff.diff_--patch-with-stat_initial..side
parentt5318: update for SHA-256 (diff)
downloadgit-235d3cddb8b0149a4ee339602386af24bfad620d.tar.gz
git-235d3cddb8b0149a4ee339602386af24bfad620d.zip
t5319: change invalid offset for SHA-256 compatibility
When using SHA-1, the existing value of the byte we use is 0x13, so writing the byte 0x07 serves to corrupt the test and verify that we detect corruption. However, when we use SHA-256, the value at that offset is already 0x07, so our "corruption" doesn't work and the test fails to detect it. To provide a value that is truly out of range, let's use 0xff, which is not likely to be a valid value as the high byte of a two-byte offset in a multi-pack index this small. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_--patch-with-stat_initial..side')
0 files changed, 0 insertions, 0 deletions