mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-02 19:26:05 -05:00
This reverts commit 4c81c213a4.
Although --cached and --index are confusing wording, the use of
word --cached for git-diff is consistent with git-apply. It means
"work with index without looking at the working tree".
We should probably come up with better wording for --cached, if
somebody wants to deprecate it. But making --index and --cached
synonyms for diff while leaving them mean different things for
apply is no good.
8.6 KiB
8.6 KiB