Anatol Pomozov wrote: > What about following algorithm. HEAD points to ref and ref is not > created yet. Additional check could be > a) there are no other refs > or/and b) object database is empty What about the case when you create _independent_ branch (additional root, i.e. parentless commit), like 'html', 'man' and 'todo' branches in git.git repository? Neither a) nor b) applies, and I don't consider such situation a bug. HEAD should be in proper symref format: "ref: refs/heads/<branchname>". -- Jakub Narebski Warsaw, Poland ShadeHawk on #git -- 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