summaryrefslogtreecommitdiff
path: root/lib/git/objects/submodule/root.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-19 10:27:30 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-19 10:28:15 +0100
commit7dd618655c96ff32b5c30e41a5406c512bcbb65f (patch)
tree2bc0beaf64de62cc7bf11cdc5a4c089e546e0e4c /lib/git/objects/submodule/root.py
parent45c0f285a6d9d9214f8167742d12af2855f527fb (diff)
downloadgitpython-7dd618655c96ff32b5c30e41a5406c512bcbb65f.tar.gz
test_submodule: fixed failures that arose due to changes of the original submodule names. Also, a major bug was fixed that cased submodules to always being updated recursively when using the RootModule.update method
submodule: previously, it would update the repository configuration during add(), but in fact it must be done during update() when the module is cloned, which is how the git-submodule implementation works
Diffstat (limited to 'lib/git/objects/submodule/root.py')
-rw-r--r--lib/git/objects/submodule/root.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/objects/submodule/root.py b/lib/git/objects/submodule/root.py
index 82b8b271..06649136 100644
--- a/lib/git/objects/submodule/root.py
+++ b/lib/git/objects/submodule/root.py
@@ -244,7 +244,7 @@ class RootModule(Submodule):
######################################
for sm in sms:
# update the submodule using the default method
- sm.update(recursive=True, init=init, to_latest_revision=to_latest_revision)
+ sm.update(recursive=False, init=init, to_latest_revision=to_latest_revision)
# update recursively depth first - question is which inconsitent
# state will be better in case it fails somewhere. Defective branch