t4008: modernise style
commitdb7b9e3ad39a4135072a1fd619b76d1c1093b501
authorJunio C Hamano <gitster@pobox.com>
Sun, 15 Feb 2015 22:21:04 +0000 (15 14:21 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 15 Feb 2015 23:38:16 +0000 (15 15:38 -0800)
tree1b9422259eb3d415051bdd663d24d01f2b729808
parentbd9150b7e5f34d7148b02ca2eed96270c7744049
t4008: modernise style

Update this ancient test script to a more modern style in which the
expected result is prepared inside the body of the test that uses
it.  Also, instead of using $tree, a shell variable, throughout the
test script, create a tag that points at it, to make it easier to
manually debug the test script in its trash directory.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4008-diff-break-rewrite.sh