summaryrefslogtreecommitdiff
path: root/lib/git/index/typ.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-23 13:49:05 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-23 13:49:05 +0200
commitaea0243840a46021e6f77c759c960a06151d91c9 (patch)
tree54009e17043813dbab91df474e78b364be0e8f4c /lib/git/index/typ.py
parentc0ef65b43688b1a4615a1e7332f6215f9a8abb19 (diff)
downloadgitpython-aea0243840a46021e6f77c759c960a06151d91c9.tar.gz
Added test for aggressive_tree_merge
Diffstat (limited to 'lib/git/index/typ.py')
-rw-r--r--lib/git/index/typ.py3
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):