Skip to content

Commit

Permalink
Merge branch 'js/ls-files-x-doc'
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Junio C Hamano committed Sep 18, 2010
2 parents 14d8729 + 4c60852 commit 1125297
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Documentation/git-ls-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,16 @@ OPTIONS

-x <pattern>::
--exclude=<pattern>::
Skips files matching pattern.
Note that pattern is a shell wildcard pattern.
Skip untracked files matching pattern.
Note that pattern is a shell wildcard pattern. See EXCLUDE PATTERNS
below for more information.

-X <file>::
--exclude-from=<file>::
exclude patterns are read from <file>; 1 per line.
Read exclude patterns from <file>; 1 per line.

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

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

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

0 comments on commit 1125297

Please sign in to comment.