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

Re: [Bug] git gc with alternates tries accessing non-existing directory

From
Jeff King <peff@peff.net>
Date
Mar 18, 2015, 09:42 UTC
Message-ID
<20150318094232.GA26496@peff.net>
In-Reply-To
<55093344.9030500@gmail.com>
On Wed, Mar 18, 2015 at 09:11:48AM +0100, Ephrim Khong wrote:
Show 5 quoted lines
> I have a non-bare repository /home/a set up with an alternate to the bare
> repository /b. Running  git gc  on /home/a produces below's error
> [...]
> > git --version
> git version 2.3.0

Try v2.3.2. It has b0a4264 (sha1_file: fix iterating loose alternate objects, 2015-02-08), which is almost certainly the problem.

-Peff
Previous: Ephrim KhongNext: Ephrim Khong
Message 2 of 3 in “[Bug] git gc with alternates tries accessing non-existing directory”
  1. Ephrim KhongMar 18, 2015
  2. Jeff KingMar 18, 2015
  3. Ephrim KhongMar 18, 2015

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.