summaryrefslogtreecommitdiff
path: root/Documentation/git-ls-files.txt
diff options
context:
space:
mode:
authorMatthias Lederhofer <matled@gmx.net>2006-07-12 21:54:51 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-13 21:52:42 -0700
commitff4d78041e85d1eddb17f2eee497e29aaeee4564 (patch)
tree204bb6aa9120b28a958a8c0bca3e0533f6aff76a /Documentation/git-ls-files.txt
parenta5262768e1e4af96bbca60ee712e97105f80de24 (diff)
downloadgit-ff4d78041e85d1eddb17f2eee497e29aaeee4564.tar.gz
Documentation about exclude/ignore files
Use .git/info/exclude in the example in git-ls-files.txt, instead of .git/ignore, and update the list of commands looking at .git/info/exclude in repository-layout.txt. Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-ls-files.txt')
-rw-r--r--Documentation/git-ls-files.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt
index 4d8a2ad2d7..8520b97111 100644
--- a/Documentation/git-ls-files.txt
+++ b/Documentation/git-ls-files.txt
@@ -207,7 +207,7 @@ An exclude pattern is of the following format:
An example:
--------------------------------------------------------------
- $ cat .git/ignore
+ $ cat .git/info/exclude
# ignore objects and archives, anywhere in the tree.
*.[oa]
$ cat Documentation/.gitignore
@@ -217,7 +217,7 @@ An example:
!foo.html
$ git-ls-files --ignored \
--exclude='Documentation/*.[0-9]' \
- --exclude-from=.git/ignore \
+ --exclude-from=.git/info/exclude \
--exclude-per-directory=.gitignore
--------------------------------------------------------------