Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Embedded (http://www.linux-archive.org/gentoo-embedded/)
-   -   branch identification for patch review (http://www.linux-archive.org/gentoo-embedded/252594-branch-identification-patch-review.html)

Chris Lumens 02-25-2009 09:11 PM

branch identification for patch review
 
> Patches are sent to the list for review from all branches of anaconda.
> I'd like to propose a simple improvement to help us identify which
> branch a patch is for:
>
> 1) If your patch is for rawhide, do nothing new. It is assumed all
> patches without a branch identification are for rawhide.
>
> 2) If your patch is for a branch, use the --subject and/or the --compose
> switch on 'git send-email' to add 'XXX-branch' to the beginning of your
> subject line.

I think this is a good idea.

> If anyone knows a magical git command that will do this automatically,
> please speak up.

There does not appear to be any way with git format-patch to
automatically add this. At least, there's no arg or config option
mentioned in the man page.

I guess you could use --subject-prefix= to add the branch, but it's
certainly not automatic.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Jeremy Katz 02-25-2009 09:37 PM

branch identification for patch review
 
On Wednesday, February 25 2009, Chris Lumens said:
> I think this is a good idea.
>
> > If anyone knows a magical git command that will do this automatically,
> > please speak up.
>
> There does not appear to be any way with git format-patch to
> automatically add this. At least, there's no arg or config option
> mentioned in the man page.
>
> I guess you could use --subject-prefix= to add the branch, but it's
> certainly not automatic.

You can do 'git config format.subjectprefix rhel5' or similar if you
keep a separate dir per branch. I don't know of anything off-hand for
doing it automagically :/

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 12:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.