t1002-read-tree-m-u-2way.sh: use 'git diff -U0' rather than 'diff -U0'
commit26e08a0190cb3354e43bab13ea693a5c826a8fe1
authorBrandon Casey <casey@nrlssc.navy.mil>
Mon, 18 Aug 2008 23:17:53 +0000 (18 18:17 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Aug 2008 06:27:14 +0000 (18 23:27 -0700)
treee665fec44ab923cf49472b84a437a9e5347e8d9c
parentda9973c6f9600d90e64aac647f3ed22dfd692f70
t1002-read-tree-m-u-2way.sh: use 'git diff -U0' rather than 'diff -U0'

Some old platforms have an old diff which doesn't have the -U option.
'git diff' can be used in its place. Adjust the comparison function to
strip git's additional header lines to make this possible.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1002-read-tree-m-u-2way.sh