Get rid of the dependency to GNU diff in the tests
commit5bd74506cd30e897d1493639b7438c6cc80dea8e
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 25 Feb 2007 22:36:53 +0000 (25 23:36 +0100)
committerJunio C Hamano <junkio@cox.net>
Sun, 4 Mar 2007 08:24:15 +0000 (4 00:24 -0800)
tree760231bfddbada6a4bf99a36749cd93b823ce775
parent0c725f1bd938fa2b626e910773e622a385daced2
Get rid of the dependency to GNU diff in the tests

Now that "git diff" handles stdin and relative paths outside the
working tree correctly, we can convert all instances of "diff -u"
to "git diff".

This commit is really the result of

$ perl -pi.bak -e 's/diff -u/git diff/' $(git grep -l "diff -u" t/)

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
(cherry picked from commit c699a40d68215c7e44a5b26117a35c8a56fbd387)
29 files changed:
t/diff-lib.sh
t/t1000-read-tree-m-3way.sh
t/t1001-read-tree-m-2way.sh
t/t1002-read-tree-m-u-2way.sh
t/t1300-repo-config.sh
t/t3001-ls-files-others-exclude.sh
t/t3002-ls-files-dashpath.sh
t/t3100-ls-tree-restrict.sh
t/t3101-ls-tree-dirname.sh
t/t3300-funny-names.sh
t/t3900-i18n-commit.sh
t/t4006-diff-mode.sh
t/t4013-diff-various.sh
t/t4015-diff-whitespace.sh
t/t4016-diff-quote.sh
t/t4100-apply-stat.sh
t/t4104-apply-boundary.sh
t/t4115-apply-symlink.sh
t/t4116-apply-reverse.sh
t/t4117-apply-reject.sh
t/t4118-apply-empty-context.sh
t/t4200-rerere.sh
t/t5400-send-pack.sh
t/t5401-update-hooks.sh
t/t6023-merge-file.sh
t/t6024-recursive-merge.sh
t/t6200-fmt-merge-msg.sh
t/t9100-git-svn-basic.sh
t/t9300-fast-import.sh