Re: [PATCH/WIP v3 10/31] am: refresh the index at start
- From
Paul Tan <pyokagan@gmail.com>
- Date
- Jun 19, 2015, 08:07 UTC
- Message-ID
- <CACRoPnRRPLRTsLkKem3QsGiLV3BpEBXNdrtoDHWfXfoR2yCDYg@mail.gmail.com>
- In-Reply-To
- <xmqqlhfgd7vf.fsf@gitster.dls.corp.google.com>
On Fri, Jun 19, 2015 at 5:28 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
> Paul Tan <pyokagan@gmail.com> writes: > >> If a file is unchanged but stat-dirty, git-apply may erroneously fail to >> apply patches, thinking that they conflict with a dirty working tree. >> >> As such, since 2a6f08a (am: refresh the index at start and --resolved, >> 2011-08-15), git-am will refresh the index before applying patches. >> Re-implement this behavior. > > Good. > > I would actually have expected to see this as part of 08/31, though.
Ah right, makes sense since this patch is primarily about git-apply.
I've squashed this patch into 08/31.
Regards, Paul