2007/10/10, Han-Wen Nienhuys <hanwenn@xxxxxxxxx>: > > You probably want to run 'git gc' (which will run 'git pack-refs', > > i.e. put all files currently under .git/refs into a single file). This > > should speed up 'git branch' (and quite possibly other commands too). > > This seems rather unuseful. After running gc pack-refs --all, I lost my HEAD, > > hanwen@lilypond:~/vc/git5$ git show HEAD > fatal: ambiguous argument 'HEAD': unknown revision or path not in the > working tree. More to the point, I seemed to have lost my entire repository. This is the type of surprise I don't enjoy. Now, can someone explain why 'git branch' takes forever if there are only two non-remote branches ? -- Han-Wen Nienhuys - hanwen@xxxxxxxxx - http://www.xs4all.nl/~hanwen - 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