3 # Copyright (c) 2005 Junio C Hamano
6 test_description
='Test built-in diff output engine.
18 'update-cache --add two files with and without +x.' \
19 'git-update-index --add path0 path1'
22 sed -e 's/line/Line/' <path0-
>path0
26 'git-diff-files -p after editing work tree.' \
27 'git-diff-files -p >current'
29 diff --git a
/path0 b
/path0
39 diff --git a
/path1 b
/path1
40 deleted
file mode
100755
50 'validate git-diff-files -p output.' \
51 'cmp -s current expected'
54 'build same diff using git-diff-helper.' \
55 'git-diff-files -z | git-diff-helper -z >current'
59 'validate git-diff-helper output.' \
60 'cmp -s current expected'