Re: git-push on packed refs via HTTP
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 20, 2009, 12:45 UTC
- Message-ID
- <alpine.DEB.1.00.0903201341220.6865@intel-tinevez-2-302>
- In-Reply-To
- <loom.20090320T123018-838@post.gmane.org>
Hi,
On Fri, 20 Mar 2009, Steve wrote:
> > could you try running git update-server-info? > > Forgot to mention that: I have tried git update-server-info, yet no > luck.
Actually, you have to undo the ref-packing performed by gc. You can do it this way (quick and dirty):
$ git show-ref | while read sha1 name do mkdir -p .git/$(dirname $name) && echo $sha1 > .git/$name done
Hth, Dscho