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

Re: [PATCH 3/3] Teach git-index-pack how to keep a pack file.

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 29, 2006, 10:49 UTC
Message-ID
<ei210e$dfs$1@sea.gmane.org>
In-Reply-To
<20061029094159.GE3847@spearce.org>
Shawn Pearce wrote:
Show 14 quoted lines
> +--keep::
> +       Before moving the index into its final destination
> +       create an empty .keep file for the associated pack file.
> +       This option is usually necessary with --stdin to prevent a
> +       simultaneous gitlink:git-repack[1] process from deleting
> +       the newly constructed pack and index before refs can be
> +       updated to use objects contained in the pack.
> +
> +--keep='why'::
> +       Like --keep create a .keep file before moving the index into
> +       its final destination, but rather than creating an empty file
> +       place 'why' followed by an LF into the .keep file.  The 'why'
> +       message can later be searched for within all .keep files to
> +       locate any which have outlived their usefulness.

Wouldn't it be better to use 'git-index-pack', perhaps with source URL if possible, as the default 'why'?

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Shawn PearceNext: Junio C Hamano
Message 2 of 5 in “Teach git-index-pack how to keep a pack file.”
  1. 3/3 Teach git-index-pack how to keep a pack file.Shawn Pearce, Oct 29, 2006
  2. Jakub NarebskiOct 29, 2006
  3. Junio C HamanoOct 29, 2006
  4. Michael S. TsirkinOct 29, 2006
  5. Nicolas PitreOct 30, 2006

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.