On Sun, Jul 14, 2013 at 4:36 AM, Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> wrote: > diff --git a/Documentation/git.txt b/Documentation/git.txt > index 3571a1b..546eea4 100644 > --- a/Documentation/git.txt > +++ b/Documentation/git.txt > @@ -879,6 +883,10 @@ GIT_NOGLOB_PATHSPECS:: > Setting this variable to `1` will cause Git to treat all > pathspecs as literal (aka "literal" magic). > > +GIT_ICASE_PATHSPECS:: > + Setting this variable to `1` will cause Git to treat all > + pathspeccs as case-insensitive. s/pathspeccs/pathspecs/ > @@ -110,16 +114,27 @@ static size_t common_prefix_len(const struct pathspec *pathspec) > int n; > size_t max = 0; > > + /* > + * ":(icase)path" is treated as a pathspec full of > + * wildcard. In other words, only prefix is considered common > + * prefix. If the pathspec is abc/foo abc/bar, running in > + * subdir xyz, the common prefix is still xyz, not xuz/abc as s/xuz/xyz/ -- 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