Eli Barzilay <eli@xxxxxxxxxxxx> writes: > It looks like setup_git_directory_gently() returns the original CWD,... It is designed to return what we internally call "prefix". You however have to be careful as it can return NULL or an empty string when you are already at the top of the working tree. -- 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