Re: git-push on packed refs via HTTP
- From
- Steve <shrotty@gmx.ch>
- Date
- Mar 27, 2009, 10:20 UTC
- Message-ID
- <loom.20090327T102017-250@post.gmane.org>
- In-Reply-To
- <alpine.DEB.1.00.0903201341220.6865@intel-tinevez-2-302>
Hi Dscho
Thanks for your snippet, that did the trick. I only had to alter it slightly because the repo on the server is bare:
git show-ref | while read sha1 name do mkdir -p $(dirname $name) && echo $sha1 > $name done
Just for understanding: Why is this step necessary? Does it have anything to do with serving the repo over HTTP at all?
Cheers, Steve