Re: [PATCH 1/2] am: preliminary support for hg patches
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 29, 2011, 21:05 UTC
- Message-ID
- <7vd3fo53oe.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAOxFTcyqGCB3TcS2CmFuVXqrCP2H-1aBDv3JJVKrNp-Q8Zahmg@mail.gmail.com>
Giuseppe Bilotta <giuseppe.bilotta@gmail.com> writes:
> Nope, it doesn't have index .... lines. Still, the patches seems to > apply correctly. Well, the couple of patches I tested did, at least, > even though they were marked as diff --git and they were lacking the > index ... lines.
Does "am -3" do the right thing when the patch does not apply cleanly, for example? What about renaming patches?
Until we are reasonably sure that we can grok it reasonably well, I'd sleep better if we stripped " --git" part from a patch that is known to be produced by somebody that does not fully re-implement "git diff".