X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/a9d82c361e1923fc487ec06d4fa091ef1511732a..4d0ba818236453fae51c9efb64950f23557cc428:/stgit/git.py diff --git a/stgit/git.py b/stgit/git.py index 43bdc7e..42b0d12 100644 --- a/stgit/git.py +++ b/stgit/git.py @@ -79,6 +79,9 @@ class Commit: def get_log(self): return self.__log + def __str__(self): + return self.get_id_hash() + # dictionary of Commit objects, used to avoid multiple calls to git __commits = dict()