diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-23 13:49:05 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-23 13:49:05 +0200 |
commit | aea0243840a46021e6f77c759c960a06151d91c9 (patch) | |
tree | 54009e17043813dbab91df474e78b364be0e8f4c /lib/git/index/typ.py | |
parent | c0ef65b43688b1a4615a1e7332f6215f9a8abb19 (diff) | |
download | gitpython-aea0243840a46021e6f77c759c960a06151d91c9.tar.gz |
Added test for aggressive_tree_merge
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): |