author | Junio C Hamano <gitster@pobox.com> | |
Sat, 24 May 2008 01:15:03 +0000 (18:15 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 24 May 2008 07:07:38 +0000 (00:07 -0700) | ||
commit | 6304c29d518206b0780291a02f94f435abf82d74 | |
tree | b16af93c1a809388a034a2522647fe923602f4da | tree | snapshot |
parent | 3af828634fa5bdbca1b2061a81df8b3fa73b0d34 | commit | diff |
diff-files: do not play --no-index games
Being able to say "git diff A B" outside a git repository and getting a
colourful version of "diff -u A B" may be nice, but such a cute hack
should not give bogus results to scripts that want to give two paths,
either or both of which happen to have been removed from the work tree,
to "git diff-files".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Being able to say "git diff A B" outside a git repository and getting a
colourful version of "diff -u A B" may be nice, but such a cute hack
should not give bogus results to scripts that want to give two paths,
either or both of which happen to have been removed from the work tree,
to "git diff-files".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-diff-files.txt | diff | blob | history | |
builtin-diff-files.c | diff | blob | history | |
git.c | diff | blob | history |