summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-12-21 10:59:05 -0800
committerJunio C Hamano <gitster@pobox.com>2015-12-21 10:59:05 -0800
commit5d35d72fc3030360d9b717a4c755e9ec877d00e5 (patch)
tree2b5884c11d983304e5a5460624fe941c2aa7d64b /Documentation/config.txt
parentc3ee2e2c9deb1e7846e864494cdb2fbc7bb1a285 (diff)
parentd34141cd08fb1c6938eae329a7c3122b05e9eb01 (diff)
downloadgit-5d35d72fc3030360d9b717a4c755e9ec877d00e5.tar.gz
Merge branch 'mc/push-recurse-submodules-config'
Add new config to avoid typing "--recurse-submodules" on each push. * mc/push-recurse-submodules-config: push: follow the "last one wins" convention for --recurse-submodules push: test that --recurse-submodules on command line overrides config push: add recurseSubmodules config option
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 2d06b11f25..f61788668e 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -2229,6 +2229,20 @@ push.gpgSign::
override a value from a lower-priority config file. An explicit
command-line flag always overrides this config option.
+push.recurseSubmodules::
+ Make sure all submodule commits used by the revisions to be pushed
+ are available on a remote-tracking branch. If the value is 'check'
+ then Git will verify that all submodule commits that changed in the
+ revisions to be pushed are available on at least one remote of the
+ submodule. If any commits are missing, the push will be aborted and
+ exit with non-zero status. If the value is 'on-demand' then all
+ submodules that changed in the revisions to be pushed will be
+ pushed. If on-demand was not able to push all necessary revisions
+ it will also be aborted and exit with non-zero status. If the value
+ is 'no' then default behavior of ignoring submodules when pushing
+ is retained. You may override this configuration at time of push by
+ specifying '--recurse-submodules=check|on-demand|no'.
+
rebase.stat::
Whether to show a diffstat of what changed upstream since the last
rebase. False by default.