[Sugar-devel] Patch review: adding the module name to the subject (was: Re: [PATCH] Change the logic used to determine the format used to save files.)

Sascha Silbe sascha-ml-reply-to-2010-3 at silbe.org
Sat Oct 16 07:37:24 EDT 2010


Excerpts from Sascha Silbe's message of Fri Oct 15 23:46:25 +0200 2010:

> Check out the --subject-prefix option of git format-patch. git send-email
> delegates the actual patch preparation to git format-patch (unless you
> pass it a pre-formatted patch as a file).

Forgot to mention: Because it's the same string per repository, the
easiest way to handle this is to set the subject prefix in the git
configuration:

sascha.silbe at twin:~/sugar-jhbuild/source/sugar-base$ git config format.subjectprefix "PATCH sugar-base"
sascha.silbe at twin:~/sugar-jhbuild/source/sugar-base$ cd ../sugar-toolkit/
sascha.silbe at twin:~/sugar-jhbuild/source/sugar-toolkit$ git config format.subjectprefix "PATCH sugar-toolkit"
sascha.silbe at twin:~/sugar-jhbuild/source/sugar-toolkit$ cd ../sugar
sascha.silbe at twin:~/sugar-jhbuild/source/sugar$ git config format.subjectprefix "PATCH sugar"
sascha.silbe at twin:~/sugar-jhbuild/source/sugar$ cd ../sugar-datastore/
sascha.silbe at twin:~/sugar-jhbuild/source/sugar-datastore$ git config format.subjectprefix "PATCH sugar-datastore"

Sascha
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101016/20e8302d/attachment.pgp>


More information about the Sugar-devel mailing list