Re: [PATCH 3/5] introduce GIT_WORK_TREE environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]