Re: git format-patch --break-rewrites broken in 2.9.3
- From
Jeff King <peff@peff.net>
- Date
- Aug 18, 2016, 15:05 UTC
- Message-ID
- <20160818150522.56gdx2mhgo7qwvru@sigill.intra.peff.net>
- In-Reply-To
- <20160818144421.GA9062@aepfle.de>
On Thu, Aug 18, 2016 at 04:44:21PM +0200, Olaf Hering wrote:
Show 12 quoted lines
> This command used to create a diff which can be consumed by patch. But > at least with 2.9.3 it just gives a rename output: > > git format-patch \ > --no-signature \ > --stdout \ > --break-rewrites \ > --keep-subject \ > 95fa0405c5991726e06c08ffcd8ff872f7fb4f2d^..95fa0405c5991726e06c08ffcd8ff872f7fb4f2d > > > What must be done now to get a usable patch?
Probably --no-renames.
Renames were enabled by default by 5404c11 (diff: activate diff.renames by default, 2016-02-25), which is in v2.9.0.
I wonder if we should consider undoing that for format-patch, whose output may be consumed by non-git endpoints.
-Peff