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

Re: [BUG] git repack fails if .git/objects/pack is on a separate partition

From
Marat Radchenko <marat@slonopotamus.org>
Date
Oct 19, 2010, 07:29 UTC
Message-ID
<1287473363910-5649843.post@n2.nabble.com>
In-Reply-To
<201010190859.43098.trast@student.ethz.ch>
> What's your git version?
> 
1.7.3.1
> It should only create and rename
> files within the pack/ subdirectory.
> 
It should, yep, but it doesn't.
Which is what you are implying
> in the above snippet, but this should never result in a cross-device
> rename, so maybe I'm missing something.
> 
That rename call attempts to put file in _current_ directory.

Proof: mkdir foo && touch foo/bar && strace mv foo/bar baz 2>&1 | grep rename outputs rename("foo/bar", "baz")

-- 
View this message in context: http://git.661346.n2.nabble.com/BUG-git-repack-fails-if-git-objects-pack-is-on-a-separate-partition-tp5649732p5649843.html
Sent from the git mailing list archive at Nabble.com.
Previous: Thomas RastNext: Marat Radchenko
Message 3 of 7 in “[BUG] git repack fails if .git/objects/pack is on a separate partition”
  1. Marat RadchenkoOct 19, 2010
  2. Thomas RastOct 19, 2010
  3. Marat RadchenkoOct 19, 2010
  4. Marat RadchenkoOct 19, 2010
  5. repack: place temporary packs under .git/objects/pack/Thomas Rast, Oct 19, 2010
  6. Marat RadchenkoOct 19, 2010
  7. Junio C HamanoOct 19, 2010

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.