X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/e4f41f5d393b5f1e83a39a42a5f204efb6ef7ea6..8e29bcd2fd67066143b88de8829130c6af043e2f:/stgit/stack.py diff --git a/stgit/stack.py b/stgit/stack.py index 065c084..71f038d 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -540,7 +540,8 @@ class Series: if bottom == top: return True - elif git.Commit(top).get_tree() == git.Commit(bottom).get_tree(): + elif git.get_commit(top).get_tree() \ + == git.get_commit(bottom).get_tree(): return True return False