chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New stg command: assimilate
[stgit]
/
stgit
/
git.py
diff --git
a/stgit/git.py
b/stgit/git.py
index 43bdc7ee8e37f81c565f6c27d30dbd0c4525d355..42b0d12b3fbae6800c93c5f8b82dc25abf6e6887 100644
(file)
--- 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()