X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgitmodules.txt;h=68977943e7bba092f5e55e6ad1b9ede83f4c2b67;hb=8547090c9265bcde7a75feeddcbf49a3eddeaaac;hp=72a13d18e019ef00de0e8a79bbe5fe4651ab8dba;hpb=567323d387dda559dbdba8c15453aba629393955;p=git.git diff --git a/Documentation/gitmodules.txt b/Documentation/gitmodules.txt index 72a13d18e..68977943e 100644 --- a/Documentation/gitmodules.txt +++ b/Documentation/gitmodules.txt @@ -44,6 +44,29 @@ submodule..update:: This config option is overridden if 'git submodule update' is given the '--merge' or '--rebase' options. +submodule..fetchRecurseSubmodules:: + This option can be used to enable/disable recursive fetching of this + submodule. If this option is also present in the submodules entry in + .git/config of the superproject, the setting there will override the + one found in .gitmodules. + Both settings can be overridden on the command line by using the + "--[no-]recurse-submodules" option to "git fetch" and "git pull".. + +submodule..ignore:: + Defines under what circumstances "git status" and the diff family show + a submodule as modified. When set to "all", it will never be considered + modified, "dirty" will ignore all changes to the submodules work tree and + takes only differences between the HEAD of the submodule and the commit + recorded in the superproject into account. "untracked" will additionally + let submodules with modified tracked files in their work tree show up. + Using "none" (the default when this option is not set) also shows + submodules that have untracked files in their work tree as changed. + If this option is also present in the submodules entry in .git/config of + the superproject, the setting there will override the one found in + .gitmodules. + Both settings can be overridden on the command line by using the + "--ignore-submodule" option. + EXAMPLES --------