author | Brandon Casey <casey@nrlssc.navy.mil> | |
Mon, 18 Aug 2008 23:17:53 +0000 (18:17 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 19 Aug 2008 06:27:14 +0000 (23:27 -0700) | ||
commit | 26e08a0190cb3354e43bab13ea693a5c826a8fe1 | |
tree | e665fec44ab923cf49472b84a437a9e5347e8d9c | tree | snapshot |
parent | da9973c6f9600d90e64aac647f3ed22dfd692f70 | commit | diff |
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>
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 | diff | blob | history |