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

Re: gc changes permissions of files

From
AWAllan Wind <allan_wind@lifeintegrity.com>
Date
Jun 15, 2008, 07:10 UTC
Message-ID
<20080615071057.GA15713@lifeintegrity.com>
In-Reply-To
<20080615064133.GE14357@lifeintegrity.com>
On 2008-06-15T02:41:33-0400, Allan Wind wrote:
Show 16 quoted lines
> 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.

Looking at the log I see that 56032c4f35fd39fe4151fca2d010d299a8901101 is HEAD on orgin, and 2b0da4aabfba6c61baf9f351b2dfbd5a88a8a999 is what I tried to commit when I got the initially error. I will catch the howto when git.or.cz is back online. If anyone wants some data before I try to fix my repository please let me know soon.

/Allan
Previous: Allan WindNext: Allan Wind
Message 5 of 6 in “gc changes permissions of files”
  1. Allan WindJun 15, 2008
  2. Johannes SchindelinJun 15, 2008
  3. Allan WindJun 15, 2008
  4. Allan WindJun 15, 2008
  5. Allan WindJun 15, 2008
  6. Allan WindJun 15, 2008

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.