Junio C Hamano [off-list ref] writes:
Although I've applied this long time ago (in git timescale
anyway), this patch and the above rationale is wrong.
'diff --cached' is more in line with how 'apply --cached' works,
not how 'apply --index' works.
Side note. I do not think --index and --cached are a good pair
of words to express the different semantics (the former works on
the working tree through the index, the latter works only on the
cached data and not on the working tree). I was only pointing
out that making 'diff --index' a synonym to 'diff --cached'
closes the door for the possibility to have these two semantics
that are consistently spelled (well, maybe "confusingly
spelled", but still consistently) between diff and apply.