Matthias Lederhofer <matled@xxxxxxx> wrote: > Matthias Lederhofer <matled@xxxxxxx> wrote: > > + inside_working_tree = !prefixcmp(cwd, worktree); > [..] > > + inside_git_dir = !prefixcmp(cwd, gitdir); > > This time a real bug: the parameters have to be the other way around. Sorry, it was right. prefixcmp got me confused again when doing some testing and the result wasn't what I expected. I'll go and copy&paste 100 times !prefixcmp(str, prefix) means "begins str with prefix?" - 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