git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: how to make a git-format patch

From
Jakub Narebski <jnareb@gmail.com>
Date
Apr 12, 2006, 11:12 UTC
Message-ID
<e1inb0$o7n$1@sea.gmane.org>
In-Reply-To
<6d6a94c50604120328ufa09f0do76c04472206ae15f@mail.gmail.com>
Aubrey wrote:
Show 21 quoted lines
> 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@email.com>
> ---
> 
>  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
Previous: AubreyNext: Mathieu Chouquet-Stringer
Message 2 of 5 in “how to make a git-format patch”
  1. AubreyApr 12, 2006
  2. Jakub NarebskiApr 12, 2006
  3. Mathieu Chouquet-StringerApr 12, 2006
  4. AubreyApr 13, 2006
  5. Junio C HamanoApr 13, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.