On Thu, Jan 29, 2009 at 08:31:17PM +0100, Bernd Lommerzheim wrote: > Hi, > > 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? > This is intential, as git gc creates .git/packed-refs in which the contents of your master branch are stored. The packed-refs help speeding up the listing of your branches if you have many of them (e.g. many old historical ones). Regards, Peter Baumann -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html