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

Re: [PATCH] remote-curl: pass on atomic capability to remote side

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Oct 16, 2019, 23:43 UTC
Message-ID
<20191016234306.tqaszjc2sfxqg3zr@camp.crustytoothpaste.net>
In-Reply-To
<20191015164028.GA4710@sigill.intra.peff.net>
On 2019-10-15 at 16:40:29, Jeff King wrote:
Show 18 quoted lines
> On Tue, Oct 15, 2019 at 01:07:59AM +0000, brian m. carlson wrote:
> > diff --git a/Documentation/gitremote-helpers.txt b/Documentation/gitremote-helpers.txt
> > index a5c3c04371..670d72c174 100644
> > --- a/Documentation/gitremote-helpers.txt
> > +++ b/Documentation/gitremote-helpers.txt
> > @@ -509,6 +509,11 @@ set by Git if the remote helper has the 'option' capability.
> >  	Indicate that only the objects wanted need to be fetched, not
> >  	their dependents.
> >  
> > +'option atomic' {'true'|'false'}::
> > +  When pushing, request the remote server to update refs in a single atomic
> > +  transaction.  If successful, all refs will be updated, or none will.  If the
> > +  remote side does not support this capability, the push will fail.
> > +
> 
> This is implemented with a single space, but the rest of the option
> bodies are indented with a tab. Asciidoc seems to format it identically
> either way, though.

Yeah, my default editor configuration for AsciiDoc is two spaces. I noticed that Junio's already picked it up for next, but I'll send a v2 with this fixed in case he wants to merge the fixed version to master instead.

If it's more convenient, I can send a follow-up patch fixing the whitespace.
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204
Previous: Jeff KingNext: Junio C Hamano
Message 3 of 5 in “remote-curl: pass on atomic capability to remote side”
  1. remote-curl: pass on atomic capability to remote sidebrian m. carlson, Oct 15, 2019
  2. Jeff KingOct 15, 2019
  3. brian m. carlsonOct 16, 2019
  4. Junio C HamanoOct 17, 2019
  5. remote-curl: pass on atomic capability to remote sidebrian m. carlson, Oct 16, 2019

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.