diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-23 15:50:14 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-23 15:50:14 +0200 |
commit | 57050184f3d962bf91511271af59ee20f3686c3f (patch) | |
tree | 67c56788c74b87e8720562556168f57b439a6ab1 /lib/git/index/typ.py | |
parent | 778234d544b3f58dd415aaf10679d15b01a5281f (diff) | |
parent | 1e2265a23ecec4e4d9ad60d788462e7f124f1bb7 (diff) | |
download | gitpython-57050184f3d962bf91511271af59ee20f3686c3f.tar.gz |
Merge branch 'fromtree'
Diffstat (limited to 'lib/git/index/typ.py')
-rw-r--r-- | lib/git/index/typ.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/git/index/typ.py b/lib/git/index/typ.py index 6ef1d2f2..d9cafa2e 100644 --- a/lib/git/index/typ.py +++ b/lib/git/index/typ.py @@ -56,6 +56,9 @@ class BaseIndexEntry(tuple): def __str__(self): return "%o %s %i\t%s" % (self.mode, self.hexsha, self.stage, self.path) + + def __repr__(self): + return "(%o, %s, %i, %s)" % (self.mode, self.hexsha, self.stage, self.path) @property def mode(self): |