>> Unsupported are colon expressions like ":alpha:". I didn't expect git-add to support it, but as I just noticed git does.
Just did some tests and noted that the shell and git does not support
them. I guess I thought that they work because [:alpha:] matched "a".
Hi Robin
The bash shell doesn't support [:alpha:] too:
$ mkdir test
$ cd test
$ touch a
$ touch b
$ touch :
$ ls [:alpha:]
: a
The fnmatch function of the python module fnmatch
(http://docs.python.org/lib/module-fnmatch.html) does not support
:alpha: too.
example:
$python
>>> from fnmatch import fnmatch
>>> fnmatch("a","[:alpha:]")
False
So I see no reason for displaying a warning.
Best regards,
Florian
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html