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

RE: [PATCH] clarify documentation for remote helpers

From
DTDavid Turner <david.turner@twosigma.com>
Date
Aug 30, 2019, 13:47 UTC
Message-ID
<88d9063060644dd99122bf0933f23fa9@exmbdft7.ad.twosigma.com>
In-Reply-To
<CAN0heSosCnn5msMX18YPwrKJzWkSWptWSFRunQdLE7T7Lc4-OA@mail.gmail.com>
I was confused, because I read "a file under GIT_DIR/objects/pack" to mean "just the filename".  Some of the things that deal with packs take just the filename (e.g. --keep-pack for git repack).  I'll fix the under under and add $, but I do want to clarify that it's the full path.
Show 29 quoted lines
> -----Original Message-----
> From: Martin Ågren <martin.agren@gmail.com>
> Sent: Friday, August 30, 2019 12:03 AM
> To: David Turner <David.Turner@twosigma.com>
> Cc: Git Mailing List <git@vger.kernel.org>
> Subject: Re: [PATCH] clarify documentation for remote helpers
> 
> On Thu, 29 Aug 2019 at 23:06, David Turner <dturner@twosigma.com> wrote:
> 
> > -Optionally may output a 'lock <file>' line indicating a file under
> > -GIT_DIR/objects/pack which is keeping a pack until refs can be
> > -suitably updated.
> > +Optionally may output a 'lock <file>' line indicating the full path
> > +of a file under under GIT_DIR/objects/pack which is keeping a pack
> > +until refs can be suitably updated.  The path must end with ".keep".
> 
> "under under".
> 
> Also -- and I realize this is nothing new in your patch -- "GIT_DIR"
> should be prefixed with a '$' and that whole path wrapped in backticks so it
> gets monospaced. In total, my suggestion would be
> 
> -+a file under under GIT_DIR/objects/pack which is keeping a pack until
> ++a file under `$GIT_DIR/objects/pack` which is keeping a pack until
> 
> Whether what you're saying is actually *true*, sorry, no idea. I just have those
> nits above to offer.
> 
> Martin
Previous: Martin ÅgrenNext: Junio C Hamano
Message 3 of 6 in “clarify documentation for remote helpers”
  1. clarify documentation for remote helpersDavid Turner, Aug 29, 2019
  2. Martin ÅgrenAug 30, 2019
  3. David TurnerAug 30, 2019
  4. Junio C HamanoAug 30, 2019
  5. David TurnerAug 30, 2019
  6. Junio C HamanoAug 30, 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.