X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fdiff-options.txt;h=2371262b10aad44391406e126a1a8027b543fd49;hb=1ae96444104c2bd9c653658fef79ef543559ad27;hp=e745a3ccdc923b068e791a778a7c73b664b230d2;hpb=1ba5c532e1f6ede63fd46bf6b647e70baa10a364;p=git.git diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index e745a3ccd..2371262b1 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -328,8 +328,14 @@ endif::git-format-patch[] --no-ext-diff:: Disallow external diff drivers. ---ignore-submodules:: - Ignore changes to submodules in the diff generation. +--ignore-submodules[=]:: + Ignore changes to submodules in the diff generation. can be + either "untracked", "dirty" or "all", which is the default. 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, + only changes to the commits stored in the superproject are shown (this was + the behavior until 1.7.0). Using "all" hides all changes to submodules. --src-prefix=:: Show the given source prefix instead of "a/".