summaryrefslogtreecommitdiff
path: root/git/test/objects/test_submodule.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-07-07 21:01:12 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-07-07 21:01:12 +0200
commitb56764b2dbe8845d476e41c8659fc0543ffb3433 (patch)
tree07ac4cfb26492bfb9c35497a39cbcad36ecc5680 /git/test/objects/test_submodule.py
parent8b3b222565199eab67196a5ab840b9e2770bfc53 (diff)
downloadgitpython-b56764b2dbe8845d476e41c8659fc0543ffb3433.tar.gz
Fixed submodule related issues once again - is it ever going to end ?
Diffstat (limited to 'git/test/objects/test_submodule.py')
-rw-r--r--git/test/objects/test_submodule.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/git/test/objects/test_submodule.py b/git/test/objects/test_submodule.py
index e5adedbc..2b7c7f40 100644
--- a/git/test/objects/test_submodule.py
+++ b/git/test/objects/test_submodule.py
@@ -284,7 +284,9 @@ class TestSubmodule(TestObjectBase):
# make sure sub-submodule is not modified by forcing it to update
# to the revision it is supposed to point to.
- csm.update()
+ for subitem in sm.traverse():
+ subitem.update()
+ #END checkout to right commit
# this would work
assert sm.remove(dry_run=True) is sm