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

Including branch info in git format-patch

From
MSMukund Sivaraman <muks@banu.com>
Date
Jun 19, 2008, 15:42 UTC
Message-ID
<20080619154251.GA16475@jurassic>
Hi all

We have two public branches on the tinyproxy project[1]: master and 1.6. We send patches to the mailing list to get them reviewed before they are applied and pushed to the public repo.

When i use "git format-patch", it doesn't seem to include the branch (or remote) name in the email it creates. So a reader of this mail may not know what branch to apply it on to test it. Aside from adding in branch information manually in the body of the message, is there any other existing way to get git format-patch to include it?

Apologies in advance if this is a stupid question.
		Mukund
Refs:
 1. http://git.banu.com/?p=tinyproxy;a=summary
Next: Jeff King
Message 1 of 9 in “Including branch info in git format-patch”
  1. Mukund SivaramanJun 19, 2008
  2. Jeff KingJun 19, 2008
  3. Junio C HamanoJun 19, 2008
  4. Jeff KingJun 19, 2008
  5. Jeff KingJun 19, 2008
  6. Sverre RabbelierJun 19, 2008
  7. Mukund SivaramanJun 19, 2008
  8. Junio C HamanoJun 19, 2008
  9. Mukund SivaramanJun 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.