Re: "git gc" removes ".git/refs/heads/master".
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 29, 2009, 19:50 UTC
- Message-ID
- <alpine.DEB.1.00.0901292050050.3586@pacific.mpi-cbg.de>
- In-Reply-To
- <83c97f59a5a5e59f908f3fc125d26adb@lunox.net>
Hi,
On Thu, 29 Jan 2009, Bernd Lommerzheim wrote:
> maybe I found a bug in git. When I execute "git gc" in my local > repository, git removes the file ".git/refs/heads/master". Is this an > intended behavior (but why?) or is that a bug?
No, it packs the refs. You have no business accessing files in .git/ directly :-)
Ciao, Dscho