Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > How about installing > > [branch "master"] > remote = origin > merge = refs/heads/master > > by default? It is a safe bet that this will be the case for 99% of all > users that want to clone an empty repository (especially if they are > putting their public repositories on something like repo.or.cz, where you > cannot change the default branch from "master" to something else). I think this is a reasonable thing to do. Even though cloning from a void is not entirely a reasonable thing to do to begin with, because we are going ahead to allow it now, it would be the best thing to do when cloning a repository served by the currently deployed git. We _could_ do better if we were to resurrect my earlier series to add "where does the HEAD point at" protocol extension, but even then we would need a fallback like your suggestion when talking to older servers anyway. -- 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