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

Re: [PATCH 5/6] http: Avoid limit of retrying request only twice

From
Jeff King <peff@peff.net>
Date
May 4, 2012, 09:28 UTC
Message-ID
<20120504092814.GA24398@sigill.intra.peff.net>
In-Reply-To
<4FA3AD72.1010407@seap.minhap.es>
On Fri, May 04, 2012 at 12:20:34PM +0200, Nelson Benitez Leon wrote:
Show 22 quoted lines
> On 05/04/2012 09:24 AM, Jeff King wrote:
> > On Thu, May 03, 2012 at 06:40:28PM +0200, Nelson Benitez Leon wrote:
> > 
> >> [snip]
> >>
> >> Now we retry as long as we keep receiving HTTP_REAUTH, so the previous
> >> sequence correctly completes.
> >>
> >> Patch by Jeff King <peff@peff.net>
> > 
> > We usually spell that as:
> > 
> >   From: Jeff King <peff@peff.net>
> > 
> > at the beginning of the email body (which lets am set the author
> > appropriately).
> 
> Are you saying the first line of the email body? isn't that for the
> commit message first-line? I suppose you're not refering to the 'from
> field' of the email as I would need alter identities in my email client
> and found that cumbersome. Sorry for me not getting it and asking for
> clarification.

Yes, that's what I am saying. When Junio applies the patch using "git am", git will recognize these extra "pseudo-headers" at the top of the body, remove them from the commit message, and override the email headers with them.

It does this for exactly this case; you can leave your email headers intact, but still provide attribution to someone else.

-Peff
Previous: Nelson Benitez Leon
Message 4 of 4 in “http: Avoid limit of retrying request only twice”
  1. 5/6 http: Avoid limit of retrying request only twiceNelson Benitez Leon, May 3, 2012
  2. Jeff KingMay 4, 2012
  3. Nelson Benitez LeonMay 4, 2012
  4. Jeff KingMay 4, 2012

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.