Re: "git diff-files" command reports differences that don't exist
- From
- Michael Brown <michael.brown@discourse.org>
- Date
- Mar 5, 2021, 22:20 UTC
- Message-ID
- <b3774f98-d2aa-3ae2-2aa5-c80339684c50@discourse.org>
- In-Reply-To
- <xmqqa6rh9sph.fsf@gitster.c.googlers.com>
On 2021-03-05 4:49 p.m., Junio C Hamano wrote:
> This is totally expected behaviour. In general when you are working > with plumbing commands like diff-files and diff-index, you are > expected to do "update-index --refresh" upfront.
Thanks. I wondered if since it was a plumbing command there might have been something I was missing but didn't know where to look.
Cheers.
-- Michael Brown Civilized Discourse Construction Kit, Inc. https://www.discourse.org/