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

Re: git-format-patch patch

From
Jeff King <peff@peff.net>
Date
Dec 18, 2008, 08:35 UTC
Message-ID
<20081218083515.GB29356@coredump.intra.peff.net>
In-Reply-To
<877i5yy149.fsf@jidanni.org>
On Thu, Dec 18, 2008 at 04:53:42AM +0800, jidanni@jidanni.org wrote:
> I'm still reading the manpage about submitting proper patches, so for now:

It looks like you didn't even use git to create it (since it is a context diff and the filenames are obviously bogus). If you are committed to improving git, then surely using it is not so bad? :)

Try cloning git://git.kernel.org/pub/scm/git/git.git, or if you just have a tarball, at least do "cd /path/to/git && git init && git add . && git commit -m 'import from git version $whatever'". Then you can make your changes and have git track them and prepare them for submission.

Then read Documentation/SubmittingPatches, which covers some of the basics. Besides the format not being applicable by regular git tools:

 - there is no commit message describing the changes, nor the reasoning
   behind them
 - it was not sent to the maintainer (who does read the list, but does
   not always read every message).
Show 5 quoted lines
>   --in-reply-to=Message-Id::
>   	Make the first mail (or all the mails with --no-thread) appear as a
>   	reply to the given Message-Id, which avoids breaking threads to
> ! 	provide a new patch series. Generates coresponding References and
> ! 	In-Reply-To headers. Angle brackets around <Message-Id> are optional.
As for the change itself, it looks reasonable to me.
-Peff
Previous: Miklos VajnaNext: Junio C Hamano
Message 3 of 18 in “git-format-patch patch”
  1. jidanni@jidanni.orgDec 17, 2008
  2. Miklos VajnaDec 17, 2008
  3. Jeff KingDec 18, 2008
  4. Junio C HamanoDec 18, 2008
  5. Clarify git-format-patch --in-reply-tojidanni@jidanni.org, Dec 19, 2008
  6. Nanako ShiraishiDec 19, 2008
  7. Miklos VajnaDec 19, 2008
  8. Junio C HamanoDec 19, 2008
  9. SubmittingPatches: mention the usage of real name in Signed-off-by: linesMiklos Vajna, Dec 20, 2008
  10. Junio C HamanoDec 20, 2008
  11. SubmittingPatches: mention the usage of real name in Signed-off-by: linesMiklos Vajna, Dec 20, 2008
  12. jidanni@jidanni.orgDec 19, 2008
  13. Miklos VajnaDec 19, 2008
  14. just can't live without a user.namejidanni@jidanni.org, Dec 19, 2008
  15. Miklos VajnaDec 20, 2008
  16. Junio C HamanoDec 20, 2008
  17. jidanni@jidanni.orgDec 20, 2008
  18. Bernt HansenDec 19, 2008

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.