On Fri, Jun 08, 2007 at 03:27:30AM -0700, Junio C Hamano wrote: > How did you get your repository into such a state to begin with? It's kinda odd to see this thread, as I hit this issue today, as well. If you need another test case, the cvsps git repo shows this too: ramune/lycaeum:git: git clone http://ydirson.free.fr/soft/git/cvsps.git <snip checkout messages> ramune/lycaeum:git: cd cvsps ramune/lycaeum:cvsps: ls ramune/lycaeum:cvsps: git checkout -f warning: You appear to be on a branch yet to be born. warning: Forcing checkout of HEAD. fatal: just how do you expect me to merge 0 trees? ramune/lycaeum:cvsps: cat .git/HEAD ref: refs/heads/master ramune/lycaeum:cvsps: ls .git/refs/head/master ls: .git/refs/head/master: No such file or directory -- DN Daniel - 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