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

Re: [PATCH] git-repack: create new packs inside $PACKDIR, not cwd

From
Martin Waitz <tali@admingilde.org>
Date
Sep 4, 2006, 09:08 UTC
Message-ID
<20060904090833.GF17042@admingilde.org>
In-Reply-To
<11573485523752-git-send-email-martin@catalyst.net.nz>
hoi :)
On Mon, Sep 04, 2006 at 05:42:32PM +1200, Martin Langhoff wrote:
> Avoid failing when cwd is !writable by writing the
> packfiles directly in the $PACKDIR.

what if other GIT commands are being called while you repack? Wouldn't they try to use the new packs, even while they are not completely written?

Perhaps it is better to create a new subdirectory $PACKDIR/.tmp/ and create the new pack files there?

-- 
Martin Waitz
Previous: Martin LanghoffNext: Junio C Hamano
Message 2 of 8 in “git-repack: create new packs inside $PACKDIR, not cwd”
  1. git-repack: create new packs inside $PACKDIR, not cwdMartin Langhoff, Sep 4, 2006
  2. Martin WaitzSep 4, 2006
  3. Junio C HamanoSep 4, 2006
  4. Junio C HamanoSep 4, 2006
  5. Martin Langhoff (CatalystIT)Sep 4, 2006
  6. Junio C HamanoSep 4, 2006
  7. Martin Langhoff (CatalystIT)Sep 4, 2006
  8. Junio C HamanoSep 4, 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.