Code

Update git-diff-script.
authorJunio C Hamano <junkio@cox.net>
Tue, 23 Aug 2005 20:18:00 +0000 (13:18 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 23 Aug 2005 20:18:00 +0000 (13:18 -0700)
commit0a5a9ea433031c5e23f1909bcca0a9b7ac7cf375
treed382db6b903e0dab02698627eec6ff6cea3abe63
parent90e18481137b2071b20fc675d69af4fc60a05267
Update git-diff-script.

This uses the fixed rev-parse to allow passing diff options to the
underlying diff command.  For example:

    $ git diff -r HEAD

shows the output in raw-diff format, and

    $ git diff -p -R HEAD | git apply

generates a patch to go back from your working tree to HEAD commit
(i.e. an expensive way to say "git checkout -f HEAD").

At the same time, it accidentally removes the use of shell arrays.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-diff-script