summaryrefslogtreecommitdiff
path: root/lib/git/objects/base.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-23 21:49:13 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-23 21:49:13 +0200
commit0cd09bd306486028f5442c56ef2e947355a06282 (patch)
tree1cec6080050543833c8377d81f4de96e70ef17c2 /lib/git/objects/base.py
parent13a26d4f9c22695033040dfcd8c76fd94187035b (diff)
downloadgitpython-0cd09bd306486028f5442c56ef2e947355a06282.tar.gz
index.remove implemented including throrough test
Diffstat (limited to 'lib/git/objects/base.py')
-rw-r--r--lib/git/objects/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/git/objects/base.py b/lib/git/objects/base.py
index 0dfd1a23..0bece6f1 100644
--- a/lib/git/objects/base.py
+++ b/lib/git/objects/base.py
@@ -20,6 +20,7 @@ class Object(LazyMixin):
inst.size # objects uncompressed data size
inst.data # byte string containing the whole data of the object
"""
+ NULL_HEX_SHA = '0'*40
TYPES = ("blob", "tree", "commit", "tag")
__slots__ = ("repo", "id", "size", "data" )
type = None # to be set by subclass