From: Jeff King Date: Wed, 02 Dec 2015 15:49:48 GMT Subject: Re: Bug: Incorrect stripping of the [PATCH] prefix in git-am Message-ID: <20151202154948.GA9525@sigill.intra.peff.net> In-Reply-To: <565EE63A.3040006@informatik.uni-hamburg.de> On Wed, Dec 02, 2015 at 01:38:18PM +0100, huebbe wrote: > As such, I would like to ask whether it would be possible/sensible > to somehow escape square brackets, or mark the beginning > of the original commit message in the `git format-patch` output? > This would allow `git am` to reproduce the exact commit message by default > without breaking the "[]" convention. I am not sure why "git format-patch -k | git am -k" does not do what you want. That is what those options were added for (and what git-rebase uses internally to make sure commit messages are left unmunged). -Peff