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

Re: Including branch info in git format-patch

From
MSMukund Sivaraman <muks@banu.com>
Date
Jun 19, 2008, 21:26 UTC
Message-ID
<20080619212626.GA29643@jurassic>
In-Reply-To
<7vskv9rvrc.fsf@gitster.siamese.dyndns.org>
On Thu, Jun 19, 2008 at 01:54:15PM -0700, Junio C Hamano wrote:
Show 15 quoted lines
> If you have a history of this shape:
> 
>                     (other cruft)
>                           \
>                    ----o---o next
>                       /
>          o---o---o---o master
>         /       /
>     ---o---o---A
> 
> which "branch label" would you give to the format-patch output that shows
> commit A?  It may apply to both master and next, and it is really up to
> the project's convention what to do with it.  The side branch the patch
> was developed on may be named "quick-hack", which would not have any
> relevance to the final location of where that patch wants to be in.

I follow what you are saying. In our workflow case, pointing out the remote (public) branch name should be sufficient (as this's the public shared branch among us, and all patchsets shared with others are against the public branches). Perhaps I can add it to the [PATCH] text in the subject line as Jeff suggests.

My problem is that I can't send a patch out to the list for other developers to try, without some annotation for them, of which branch to try it on.

		Mukund
Previous: Sverre RabbelierNext: Junio C Hamano
Message 7 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.