summaryrefslogtreecommitdiffstats
path: root/diff-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-08-18 22:15:35 +0000
committerJunio C Hamano <junio@kernel.org>2010-08-18 22:15:35 +0000
commit619596afe5769620cfbaca941f701a3fa106e6e5 (patch)
treea0065a9102205adf638a7ff9e35bb50ce049dcd0 /diff-options.txt
parentb5a296fa6d8cd1a703ce2eb6232e0bbc654bd2a2 (diff)
downloadgit-htmldocs-619596afe5769620cfbaca941f701a3fa106e6e5.tar.gz
Autogenerated HTML docs for v1.7.2.1-158-gbd3a97
Diffstat (limited to 'diff-options.txt')
-rw-r--r--diff-options.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/diff-options.txt b/diff-options.txt
index eecedaab6..4656a97e6 100644
--- a/diff-options.txt
+++ b/diff-options.txt
@@ -355,7 +355,11 @@ endif::git-format-patch[]
--ignore-submodules[=<when>]::
Ignore changes to submodules in the diff generation. <when> can be
- either "untracked", "dirty" or "all", which is the default. When
+ either "none", "untracked", "dirty" or "all", which is the default
+ Using "none" will consider the submodule modified when it either contains
+ untracked or modified files or its HEAD differs from the commit recorded
+ in the superproject and can be used to override any settings of the
+ 'ignore' option in linkgit:git-config[1] or linkgit:gitmodules[5]. When
"untracked" is used submodules are not considered dirty when they only
contain untracked content (but they are still scanned for modified
content). Using "dirty" ignores all changes to the work tree of submodules,