39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
-
+
+
+
+
+
|
`[`.
Some examples:
[a-d] Matches any one of 'a', 'b', 'c', or 'd'
[a-] Matches either 'a' or '-'
[][] Matches either '[' or ']'
[][] Matches either ']' or '['
[^]] Matches exactly one character other than ']'
[]^] Matches either ']' or '^'
The glob is compared to the canonical name of the file in the checkout
tree, and must match the entire name to be considered a match.
Unlike typical Unix shell globs, wildcard sequences are allowed to
match '/' directory separators as well as the initial '.' in the name
of a hidden file or directory.
A list of GLOBs is simply one or more GLOBs separated by whitespace or
commas. If a GLOB must contain a space or comma, it can be quoted with
either single or double quotation marks.
Since a newline is considered to be whitespace, a list of GLOBs in a
file (as for a versioned setting) may have one GLOB per line.
|