Re: how to make a git-format patch

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

 



Aubrey wrote:

> But I saw most of the git-format patches have a header in the front of
> the patch file, like:
> =================================
>  * Added xxxxxx support
> 
> Signed-off-by: xxxxxxxx <xxxxxxx@xxxxxxxxx>
> ---
> 
>  net/packet/Kconfig |   11 ++++++++++-
>  1 files changed, 10 insertions(+), 1 deletions(-)
> 
> diff --git a/net/packet/Kconfig b/net/packet/Kconfig
> index 34ff93f..959c272 100644
> --- a/net/packet/Kconfig
> +++ b/net/packet/Kconfig
> 
> ----snip----
> =================================
> 
> Just want to know how this kind of patch format generated.
> Thanks for any hints.

Perhaps git-format-patch(1) is what you want?

-- 
Jakub Narebski
Warsaw, Poland

-
: 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]