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

Re: repack: handling of .keep files

From
Junio C Hamano <junkio@cox.net>
Date
May 4, 2007, 09:56 UTC
Message-ID
<7vy7k4ud3d.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<81b0412b0705040225p26679dbib6a1261a1a43ee67@mail.gmail.com>
"Alex Riesen" <raa.lkml@gmail.com> writes:
> ... Experimenting with the .keep-files I had a crash in git-log,
> when the pack was renamed into .keep.pack, but the
> index was not. git-log complained about two objects it could not
> read and than crashed. It's cygwin.

This part makes me suspect you are not even using the .keep properly. In addition to pack-[0-9a-f]{40}.(pack|idx), you would have a corresponding pack-[0-9a-f]{40}.keep file (whose contents does not matter) to mark that these should not get repacked.

Previous: Alex RiesenNext: Alex Riesen
Message 2 of 11 in “repack: handling of .keep files”
  1. Alex RiesenMay 4, 2007
  2. Junio C HamanoMay 4, 2007
  3. Alex RiesenMay 4, 2007
  4. Junio C HamanoMay 4, 2007
  5. Alex RiesenMay 4, 2007
  6. Junio C HamanoMay 4, 2007
  7. Nicolas PitreMay 4, 2007
  8. Handle return code of parse_commit in revision machineryAlex Riesen, May 4, 2007
  9. Dana HowMay 7, 2007
  10. Alex RiesenMay 7, 2007
  11. Dana HowMay 7, 2007

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.