From: Johannes Schindelin Date: Thu, 29 Jan 2009 19:50:33 GMT Subject: Re: "git gc" removes ".git/refs/heads/master". Message-ID: 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