Re: Unfortunate interaction between git diff-index and fakeroot

2017-12-08 Thread Elazar Leibovich
On 12/07/2017 05:31 PM, Junio C Hamano wrote: Correct. fakeroot would report that the files that are actually owned by the user who is running fakeroot are owned by root; the cached stat information in the index would be "corrected" to say that they are owned by root. So once the index is

Unfortunate interaction between git diff-index and fakeroot

2017-12-07 Thread Elazar Leibovich
Hi, We noticed some unexpected behavior of git, when running git commands under fakeroot, and then running another command without fakeroot. When running, e.g., git status, or git describe --dirty, git can update the index file. This can happen inadvertently by, e.g., running the make install