From: Allan Wind Date: Sun, 15 Jun 2008 06:41:33 GMT Subject: Re: gc changes permissions of files Message-ID: <20080615064133.GE14357@lifeintegrity.com> In-Reply-To: <20080615062736.GC14357@lifeintegrity.com> On 2008-06-15T02:27:36-0400, Allan Wind wrote: > I seem to recall that push to the repository also introduces files without > group write permission. Unfortunately it looks something broke when I ran > gc. Any help in getting my repository back up would be appreciated: > > allan@vent:~/var/git/www2$ git clone ssh://pawan.localnet./var/lib/git/www.git > Initialized empty Git repository in /home/allan/var/git/www2/www/.git/ > fatal: git-upload-pack: cannot find object 56032c4f35fd39fe4151fca2d010d299a8901101: > fatal: The remote end hung up unexpectedly > fetch-pack from 'ssh://pawan.localnet./var/lib/git/www.git' failed. # git fsck dangling commit 2b0da4aabfba6c61baf9f351b2dfbd5a88a8a999 Re-running this returns the same dangling commit, so fsck does not seem to fix anything. /Allan