Skip to content

Commit 1125297

Browse files
committed
Merge branch 'js/ls-files-x-doc'
* js/ls-files-x-doc: ls-files documentation: reword for consistency git-ls-files.txt: clarify -x/--exclude option Conflicts: Documentation/git-ls-files.txt
2 parents 14d8729 + 4c60852 commit 1125297

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Documentation/git-ls-files.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,16 @@ OPTIONS
7979

8080
-x <pattern>::
8181
--exclude=<pattern>::
82-
Skips files matching pattern.
83-
Note that pattern is a shell wildcard pattern.
82+
Skip untracked files matching pattern.
83+
Note that pattern is a shell wildcard pattern. See EXCLUDE PATTERNS
84+
below for more information.
8485

8586
-X <file>::
8687
--exclude-from=<file>::
87-
exclude patterns are read from <file>; 1 per line.
88+
Read exclude patterns from <file>; 1 per line.
8889

8990
--exclude-per-directory=<file>::
90-
read additional exclude patterns that apply only to the
91+
Read additional exclude patterns that apply only to the
9192
directory and its subdirectories in <file>.
9293

9394
--exclude-standard::
@@ -192,7 +193,7 @@ These exclude patterns come from these places, in order:
192193
file containing a list of patterns. Patterns are ordered
193194
in the same order they appear in the file.
194195

195-
3. command line flag --exclude-per-directory=<name> specifies
196+
3. The command line flag --exclude-per-directory=<name> specifies
196197
a name of the file in each directory 'git ls-files'
197198
examines, normally `.gitignore`. Files in deeper
198199
directories take precedence. Patterns are ordered in the

0 commit comments

Comments
 (0)