summaryrefslogtreecommitdiff
path: root/t/t4024-diff-optimize-common.sh
AgeCommit message (Collapse)AuthorFilesLines
2007-12-20t4024: fix test script to use simpler sed patternLibravatar Junio C Hamano1-35/+123
The earlier test stripped away expected number of 'z' but the output would have been very hard to read once somebody broke the common tail optimization. Instead, count the number of 'z' and show it, to help diagnosing the problem better in the future. Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-12-16Re-re-re-fix common tail optimizationLibravatar Junio C Hamano1-0/+69
We need to be extra careful recovering the removed common section, so that we do not break context nor the changed incomplete line (i.e. the last line that does not end with LF). Signed-off-by: Junio C Hamano <gitster@pobox.com>