I've already swallowed Johannes's patch that also takes good parts from your patch (most importantly, the part to call setup_git_directory_gently() so that things can work from a subdirectory and still find the config) in "next", and I am hoping to push it out by end of (my) tomorrow. So I'd appreciate any improvements (including docs perhaps) on top of that instead. - : 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