Re: How to automatically get subsystem name for a file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 1 Oct 2012, Ezequiel Garcia wrote:

On Mon, Oct 1, 2012 at 5:51 PM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
On Mon, Oct 01, 2012 at 04:49:13PM -0300, Ezequiel Garcia wrote:
On Mon, Oct 1, 2012 at 3:49 PM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
On Mon, Oct 01, 2012 at 06:57:44PM +0200, Peter Senna Tschudin wrote:
I'm trying to figure it out how to automatically get the correct
subsystem string for putting on the first line of the commit message /
subject of the patch message. For example:

Subject: [PATCH 001/142] arch/x86: Replace memcpy with struct assignment
                                       ^^^^^^^^^^
arch/x86 is only the first two levels of directories from Kernel
source. This may not be smart enough...


You have to do it manually.  Here are the relevant lines from my
patch script.


Manually? Sure there must be some way of auto do it.

There really isn't an automatic way.  For example [media] and [SCSI]
are non-standard.

This information could be integrated into get_maintainers somehow.

I look at it as a good thing that people have to do it manually.  It
hopefully makes them slow down a bit.


Agreed.
Slow down, less maintainers head.

It's a nuisance if one makes a lot of patches at once (by a lot I mean 5 or more). Especially if one realizes midstream that something is wrong and has to start over. Of course, one could leave this manual step to the very end, when one is sure that everything is OK, but I would rather be studying the absolutely final version rather than the not quite final one.

julia
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux