author | Andreas Ericsson <ae@op5.se> | |
Thu, 30 Nov 2006 11:43:13 +0000 (12:43 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 2 Dec 2006 05:57:04 +0000 (21:57 -0800) | ||
commit | 4c81c213a479e4aae0653a56ad6e8db5c31f019c | |
tree | f6e293579bb51afb0d7a755878625f6e967b5159 | tree | snapshot |
parent | ced7b828fadbf3d6de49d75392f1516b4ceb4491 | commit | diff |
git-diff: Introduce --index and deprecate --cached.
'git diff --cached' still works, but its use is discouraged
in the documentation. 'git diff --index' does the same thing
and is consistent with how 'git apply --index' works.
Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
'git diff --cached' still works, but its use is discouraged
in the documentation. 'git diff --index' does the same thing
and is consistent with how 'git apply --index' works.
Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-diff.txt | diff | blob | history | |
builtin-diff.c | diff | blob | history |