From: Frédéric Delanoy Date: Mon, 30 May 2011 13:04:13 GMT Subject: Re: Using really empty start prefixes for git-format-patch numbered patches? Message-ID: In-Reply-To: Is this a bug or a feature? 2011/5/28 Frédéric Delanoy : > Hi, > > I'm trying to generate numbered patches using git-format-patch such > that I get e.g. [1/2] instead of [PATCH 1/2] > > However, if I use an empty string as prefix, for instance in > > git-format-patch --subject-prefix="" -2 > > an extraneous space is inserted, and I get [ 1/2] instead of desired > [1/2] in the Subject line > > (I also tried using a single backspace char as prefix, but that didn't > change anything, as might have been expected) > > Is there a way to get rid of this space? IMO the space should only be > added if the prefix is non-empty > > Frédéric Delanoy >