summaryrefslogtreecommitdiff
path: root/git/util.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-20 21:35:28 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-20 21:35:28 +0100
commit80701fc6f4bf74d3c6176d76563894ff0f3b32bb (patch)
tree4627cdeb4d53f85e9ad877fba7eb1b01de5281d1 /git/util.py
parent9fbae711b76a4f2fa9345f43da6d2cdedd75d6c3 (diff)
downloadgitpython-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