From: Andreas Ericsson Date: Thu, 30 Nov 2006 11:43:13 +0000 (+0100) Subject: git-diff: Introduce --index and deprecate --cached. X-Git-Tag: v1.5.0-rc0~176 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4c81c213a479e4aae0653a56ad6e8db5c31f019c?hp=4c81c213a479e4aae0653a56ad6e8db5c31f019c 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 Signed-off-by: Junio C Hamano ---