t4024: fix test script to use simpler sed pattern
commit885ed372d09f68806b17fc8fd0ac13a46636aeb2
authorJunio C Hamano <gitster@pobox.com>
Thu, 20 Dec 2007 00:21:30 +0000 (19 16:21 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Dec 2007 09:11:37 +0000 (20 01:11 -0800)
tree4663739afa494b489a311de8bab6d1c149997459
parenteab9a40b6dd5c1c571b1deb264133db47bb4794d
t4024: fix test script to use simpler sed pattern

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>
t/t4024-diff-optimize-common.sh