Re: interaction between git-diff-index and git-apply

2017-01-22 Thread Junio C Hamano
Ariel Davis writes: > I have noticed an interesting interaction between git-diff-index and > git-apply. > Essentially, it seems that if we start with a clean working tree, then > git-apply a patch, then git-apply the reverse of that patch, git-diff-index > still thinks files ar

interaction between git-diff-index and git-apply

2017-01-22 Thread Ariel Davis
Hello, I have noticed an interesting interaction between git-diff-index and git-apply. Essentially, it seems that if we start with a clean working tree, then git-apply a patch, then git-apply the reverse of that patch, git-diff-index still thinks files are modified. But then, if we git-status