aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2017-04-25 18:41:09 +0000
committerJunio C Hamano <gitster@pobox.com>2017-04-27 09:41:19 +0900
commit4d9bc37fbe9902fc033573cf7375b528fc6a434e (patch)
treed4b7093eb941c1eae7fd0088b41f63701630babc /Documentation
parenta33fc72fe911fdb8e284c94e08e8f1dafe4d3187 (diff)
downloadgit-4d9bc37fbe9902fc033573cf7375b528fc6a434e.tar.gz
git-4d9bc37fbe9902fc033573cf7375b528fc6a434e.tar.xz
t1450: avoid use of "sed" on the index, which is a binary file
The previous step added a path zzzzzzzz to the index, and then used "sed" to replace this string to yyyyyyyy to create a test case where the checksum at the end of the file does not match the contents. Unfortunately, use of "sed" on a non-text file is not portable. Instead, use a Perl script that seeks to the end and modifies the last byte of the file (where we _know_ stores the trailing checksum). Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions