git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using really empty start prefixes for git-format-patch numbered patches?
@ 2011-05-28 21:57 Frédéric Delanoy
  2011-05-30 13:04 ` Frédéric Delanoy
  2011-05-30 14:19 ` Jeff King
  0 siblings, 2 replies; 5+ messages in thread
From: Frédéric Delanoy @ 2011-05-28 21:57 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-30 20:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-28 21:57 Using really empty start prefixes for git-format-patch numbered patches? Frédéric Delanoy
2011-05-30 13:04 ` Frédéric Delanoy
2011-05-30 14:19 ` Jeff King
2011-05-30 19:19   ` Junio C Hamano
2011-05-30 20:23     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).