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

2015-03-18 Thread Ephrim Khong
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 error: unable to open /b/objects/56/b969ffdf64343777a069260f41761dc0551bfa/00: Not a directory The referenced file

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

2015-03-18 Thread Jeff King
On Wed, Mar 18, 2015 at 09:11:48AM +0100, Ephrim Khong wrote: 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

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

2015-03-18 Thread Ephrim Khong
On 18.03.2015 10:42, Jeff King wrote: On Wed, Mar 18, 2015 at 09:11:48AM +0100, Ephrim Khong wrote: 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.