diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-20 21:35:28 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-20 21:35:28 +0100 |
commit | 80701fc6f4bf74d3c6176d76563894ff0f3b32bb (patch) | |
tree | 4627cdeb4d53f85e9ad877fba7eb1b01de5281d1 /git/util.py | |
parent | 9fbae711b76a4f2fa9345f43da6d2cdedd75d6c3 (diff) | |
download | gitpython-80701fc6f4bf74d3c6176d76563894ff0f3b32bb.tar.gz |
Submodule.parent_commit() now automatically points to repo.head unless it was set before.
That way, you don't always have to keep the parent commit uptodate when changing the
repo, which can lead to errors which are hard to debug and make no sense to the user,
who previously never set parent_commit (yet it matters thanks to the cache).
Diffstat (limited to 'git/util.py')
0 files changed, 0 insertions, 0 deletions