Re: Optimizing writes to unchanged files during merges?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 12, 2018, 21:46 UTC
- Message-ID
- <xmqq604w2j4u.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CA+55aFzLZ3UkG5svqZwSnhNk75=fXJRkvU1m_RHBG54NOoaZPA@mail.gmail.com>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 5 quoted lines
> Now, the reason it was marked as changed is that the xfs branch _had_ > in fact changed it, but the changes were already upstream and got > merged away. But the file still got written out (with the same > contents it had before the merge), and 'make' obviously only looks at > modification time, so make rebuilt everything.
Thanks for a clear description of the issue. It does sound interesting.