LWN.net Logo

Ask a kernel developer: maintainer workflow

Ask a kernel developer: maintainer workflow

Posted Aug 23, 2012 23:59 UTC (Thu) by blackwood (subscriber, #44174)
Parent article: Ask a kernel developer: maintainer workflow

Quick aside: I recommend git tag --contains over git describe --contains. The former dumps all tags that a patch is in and hence needs some human parsing (or a script to dig out the right linux release).

But git describe can get confused, especially if the patch is part of a -next tree that gets pulled in much later in the next kernel release, so that e.g. 3.5-rc1 is further away than 3.6-rc1 and hence git describe leads you to believe the patch was merged for 3.6 but really is part of 3.5. Happened just recently with a drm/i915 patch that Greg at first refused to apply to the 3.5 stable queue ;-)


(Log in to post comments)

Ask a kernel developer: maintainer workflow

Posted Aug 27, 2012 16:50 UTC (Mon) by ecashin (subscriber, #12040) [Link]

One can use the "--match" option with "git describe --contains" to filter out linux-next tags It accepted a file-globbing-type syntax last time I used it.

I think it would be "git describe --contains --match 'v3.6*'".

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds