On Sun, Feb 2, 2014 at 9:19 AM, Duy Nguyen <[email protected]> wrote: >> + /* check whole path */ >> + if (strcmp(real_path(path0), work_tree) == 0) { >> + *path0 = '\0'; >> + return 0; >> + } > > I think this is already handled by the "check if work tree is already > the prefix" block.
No, the "check if.." block does not do real_path() so we still need it here. Sorry for the noise. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

