Re: Corruption: empty refs/heads in otherwise filled repo: cannot clone?
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 30, 2008, 12:03 UTC
- Message-ID
- <200806301403.57900.jnareb@gmail.com>
- In-Reply-To
- <200806301344.09938.J.Wielemaker@uva.nl>
Jan Wielemaker wrote:
Show 5 quoted lines
> Summarising, I think the conclusion is that git pack-refs has somehow > been run on this repository, and being a bare one this is not a > particulary good idea right now. I have the impression I should `unpack' > them by putting the appriate files in heads (done) and tags (now still) > and (re)move packed-refs.
If you use new enough git both on server and on clients it should not have problems with packed-refs. I would rather check permissions of $GIT_DIR and $GIT_DIR/packed-refs.
If "git show-ref" and "git for-each-ref" works, then "git ls-remote <repo>" should work, and git-fetch/git-clone shoulw work too...
-- Jakub Narebski Poland