]> git.ipfire.org Git - thirdparty/git.git/commit - revision.h
Add custom subject prefix support to format-patch (take 3)
authorRobin H. Johnson <robbat2@gentoo.org>
Wed, 11 Apr 2007 23:58:07 +0000 (16:58 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 12 Apr 2007 01:48:30 +0000 (18:48 -0700)
commit2d9e4a47d16e9d2100cc88ef6126aa7619be51ed
tree7c1b75e59767d437764b4d83ce9518402b96505a
parent566f5b217df73d6a642a0857cc5c13c11f84e7c3
Add custom subject prefix support to format-patch (take 3)

Add a new option to git-format-patch, entitled --subject-prefix that allows
control of the subject prefix '[PATCH]'. Using this option, the text 'PATCH' is
replaced with whatever input is provided to the option. This allows easily
generating patches like '[PATCH 2.6.21-rc3]' or properly numbered series like
'[-mm3 PATCH N/M]'. This patch provides the implementation and documentation.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-format-patch.txt
builtin-log.c
log-tree.c
revision.h