Bug: Incorrect stripping of the [PATCH] prefix in git-am

2015-11-25 Thread huebbe
xcept for the `git log` output for brevity. As you can see, the commit resulting from `git am` has lost the "[bar]" prefix from its commit message. Looking at the patch, $ cat 0001-baz-baz.patch From b41514be8a70fd44052bff0d3ce720373ec9cfd8 Mon Sep 17 00:00:00 2001 From: N

Re: Bug: Incorrect stripping of the [PATCH] prefix in git-am

2015-11-25 Thread huebbe
l On 11/25/2015 04:44 PM, stefan.na...@atlas-elektronik.com wrote: > Am 25.11.2015 um 16:29 schrieb huebbe: >> Description: >> >> When applying a patch created via `git format-patch` with `git am`, >> any prefix of the commit message that's within square bracke

Re: Bug: Incorrect stripping of the [PATCH] prefix in git-am

2015-12-02 Thread huebbe
On 12/02/2015 01:58 AM, Jeff King wrote: > On Wed, Nov 25, 2015 at 04:59:35PM +0100, huebbe wrote: > >> Yes, it looks like the `--keep-non-patch` option works around this. >> >> However, shouldn't that be the default behaviour? >> I mean, what is the point in st

Re: Bug: Incorrect stripping of the [PATCH] prefix in git-am

2015-12-03 Thread huebbe
stripped automatically. Just because the current behaviour is ... irritating. Cheers, Nathanael On 12/02/2015 04:49 PM, Jeff King wrote: > 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 som