On May 5, Junio C Hamano wrote: > 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. OK, in this case it looks like it should work as expected. At least provided that chdir("") stays in the same directory -- and given the call at the end of handle_alias(), it looks like this assumption is already made. Does this sound right? -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! -- 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