Re: Creating a patch set with git-format-patch

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

 



On 2008.04.10 11:51:59 +0300, Ian Brown wrote:
> Hello,
>   I have a question regarding creating a patch set with git-format-patch:
> I had downloaded a git repository of the Linux kernel.
> 
> I intend to  make a change in two files: net/ipv4/route.c and
> include/net/dst.h and send a
> patch set of two patches for review.
> Now I want to create this  patch set of two pathces correctly;
> First patch for net/ipv4/route.c and second for include/net/dst.h.
> 
> what should I do ?

Just create a branch for you work, then start working and creating
commits. In the end, you'll get one patch for each commit, so group your
work in the commits just as you want it to appear in the patches.

Then, create the patches with:
git format-patch <options> master

That will create patches for all commits that are in your branch, but
not in master. Finally, you can use either git send-email or your
favourite mbox-capable MUA to send the patches.

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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux