Skip to content

Commit 4c60852

Browse files
committed
ls-files documentation: reword for consistency
Similar to descriptions of other options, state what -x does in imperative mood. Start sentences for -X and --exclude-per-directory options in capital letters. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 75609a0 commit 4c60852

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/git-ls-files.txt

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

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

8686
-X <file>::
8787
--exclude-from=<file>::
88-
exclude patterns are read from <file>; 1 per line.
88+
Read exclude patterns from <file>; 1 per line.
8989

9090
--exclude-per-directory=<file>::
91-
read additional exclude patterns that apply only to the
91+
Read additional exclude patterns that apply only to the
9292
directory and its subdirectories in <file>.
9393

9494
--exclude-standard::
@@ -178,7 +178,7 @@ These exclude patterns come from these places, in order:
178178
file containing a list of patterns. Patterns are ordered
179179
in the same order they appear in the file.
180180

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

0 commit comments

Comments
 (0)