Junio C Hamano [off-list ref] writes:
I think ripping out --no-index from git-diff-files is probably the first
step. "git diff" also needs to fixed as Linus outlined, but that is a
separate topic.
How about doing something like this as a start? At least that would get
well behaved Porcelains like stg unstuck?
...
Please do not use this one, not just yet.
The series to fix this unfortunately is turning out to be larger than I
hoped for, but the result is looking very promising ;-).