[PATCH <branch>] hint

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sat Jan 9 13:42:58 UTC 2010

On Fri, Dec 18, 2009 at 08:17:50AM +0100, Carmelo AMOROSO wrote:
>Hash: SHA1

[catching up on mail backlog..]

>Hi All,
>for all git-format-patch users, I would suggest to specify in the
>[PATCH] subject the branch name too {master,nptl,0_9_28,0_9_29,0_9_30}
>to help reviewer/committers
>The option to be used with format-patch is --subject-prefix="[PATCH <branch>]"
>Sorry for experienced git users that already know this.

I've tried that with both the version packaged by debian as well as
git's master branch and it doesn't seem to work for me? ¹)

I do:
$ git config --replace-all format.subjectprefix 'PATCH <branch>'
# edit something, commit it
$ git format-patch -o ~/foo/ HEAD^..HEAD
and that patch still has "<branch>" in the subject, even when

What am i doing wrong?

¹) With attached patchlet against git master it works as you advertise
above. You must be using a similar patch in your git-core?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-expand-branch-in-format.subjectprefix.patch
Type: text/x-diff
Size: 4273 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20100109/e53dbe17/attachment.bin>

More information about the uClibc mailing list