git-diff: Introduce --index and deprecate --cached.
authorAndreas Ericsson <ae@op5.se>
Thu, 30 Nov 2006 11:43:13 +0000 (12:43 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 2 Dec 2006 05:57:04 +0000 (21:57 -0800)
commit4c81c213a479e4aae0653a56ad6e8db5c31f019c
treef6e293579bb51afb0d7a755878625f6e967b5159
parentced7b828fadbf3d6de49d75392f1516b4ceb4491
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>
Documentation/git-diff.txt
builtin-diff.c