diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-11-24 22:53:24 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-11-24 22:53:24 +0100 |
commit | cf1d5bd4208514bab3e6ee523a70dff8176c8c80 (patch) | |
tree | d68f6529275838b9a962c4b76533e8445441af34 /objects/submodule/base.py | |
parent | 3175b5b21194bcc8f4448abe0a03a98d3a4a1360 (diff) | |
parent | 7da101ba9a09a22a85c314a8909fd23468ae66f0 (diff) | |
download | gitpython-cf1d5bd4208514bab3e6ee523a70dff8176c8c80.tar.gz |
Merge branch 'reflogintegration'
Diffstat (limited to 'objects/submodule/base.py')
-rw-r--r-- | objects/submodule/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/objects/submodule/base.py b/objects/submodule/base.py index 5d32d600..36b48d78 100644 --- a/objects/submodule/base.py +++ b/objects/submodule/base.py @@ -344,7 +344,7 @@ class Submodule(util.IndexObject, Iterable, Traversable): # END initial checkout + branch creation # make sure HEAD is not detached - mrepo.head.ref = local_branch + mrepo.head.set_reference(local_branch, logmsg="submodule: attaching head to %s" % local_branch) mrepo.head.ref.set_tracking_branch(remote_branch) except IndexError: print >> sys.stderr, "Warning: Failed to checkout tracking branch %s" % self.branch_path |