Re: strange behavior of git diff-index

2019-05-22 Thread Oussama Ghorbel
Hi Johannes, ThanksĀ a lot for the clarification! Regards, Oussama On 5/22/19 4:54 PM, Johannes Schindelin wrote: > Hi Oussama, > > On Wed, 22 May 2019, Oussama Ghorbel wrote: > >> git diff-index is giving me incorrect information, however if I run git >> diff, then git diff-index again it will s

Re: strange behavior of git diff-index

2019-05-22 Thread Johannes Schindelin
Hi Oussama, On Wed, 22 May 2019, Oussama Ghorbel wrote: > git diff-index is giving me incorrect information, however if I run git diff, > then git diff-index again it will show the correct information. > The steps are the following: > $ git diff-index --name-only HEAD > git appears to list all f

strange behavior of git diff-index

2019-05-22 Thread Oussama Ghorbel
Hi, git diff-index is giving me incorrect information, however if I run git diff, then git diff-index again it will show the correct information. The steps are the following: $ git diff-index --name-only HEAD git appears to list all files in the project irrespective if they modified or not $ git