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, 19:20 UTC
Message-ID
<7v6478tmyy.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<81b0412b0705041024i43d7fc5ah1967d6a6192dc6ee@mail.gmail.com>
"Alex Riesen" <raa.lkml@gmail.com> writes:
Show 7 quoted lines
> On 5/4/07, Junio C Hamano <junkio@cox.net> wrote:
> ...
>> I do not know pros-and-cons between .git/ and .git/objects/;
>
> These are settable separately, so theoretically you can end
> up with .git and .git/objects being on different filesystems.
> Atomic rename wont be possible than.
Fair enough.

As we've lived without trouble long enough creating the new pack tempfile in $GIT_DIR, I do not think it is urgent; but feel free to propose moving it to GIT_OBJECT_DIRECTORY. We _might_ need to teach fsck to take notice of such leftover temporary files from an earlier, aborted run if we do this -- I haven't looked.

Previous: Alex RiesenNext: Nicolas Pitre
Message 6 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.