Patch format in ext4 patch queue.

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

 



Hi all,

I was looking at the patch queue and see patches with different formats. If we can standardize on what rest of the linux kernel follows it would
be nice.

First line should be
<subsystem_name>: A single line description of the patch.
This appear in the subject line of the mail that results from different
commit list.
eg: ext4: Uninitialized block group support


From: <Author of the patch>
This should be a valid email id. For example stgit checks for the author to be a valid email id.

<Description of the fix>

Signed-off-by:
Reviewed-by:

What is missing in the patch queue is the First line for most of the patch.

Below is the steps i follow to manage patch queue.

One linux kernel repository:


[master@linux-review-ext4]$ git checkout -b review v2.6.23-rc6
Switched to a new branch "review"
[review@linux-review-ext4]$ stg init [review@linux-review-ext4]$ stg import --series /home/opensource/patches/ext4-patch-queue/series Now we should verify patches and make sure they look the way we wanted them in Linus tree by git log
After:
stg pop -> similar to quilt pop
stg push -> similar to quilt push

To edit the commit message
stg edit
To add sign-off or ack

stg edit --sign stg edit --ack

To change the author name
stg edit --author


Now once we are sure all are fine

stg export -d /home/new-patch-queue-set/

This should get a patch set with quilt series


To find stgit:

http://procode.org/stgit/


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

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux