Don't you have $repo (an instance of Git) at that point? You should be able to ask repo_path() about it, shouldn't you? - 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