summaryrefslogtreecommitdiff
path: root/lib/git/errors.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-03 16:35:35 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-03 16:35:35 +0200
commit38d59fc8ccccae8882fa48671377bf40a27915a7 (patch)
tree84a3671b709f9fcff39819805a4902546e4d6d66 /lib/git/errors.py
parent6f8ce8901e21587cd2320562df412e05b5ab1731 (diff)
downloadgitpython-38d59fc8ccccae8882fa48671377bf40a27915a7.tar.gz
odb: implemented loose object streaming, which is impossible to do efficiently considering that it copies string buffers all the time
Diffstat (limited to 'lib/git/errors.py')
-rw-r--r--lib/git/errors.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/git/errors.py b/lib/git/errors.py
index 956e007f..d8a35e02 100644
--- a/lib/git/errors.py
+++ b/lib/git/errors.py
@@ -18,6 +18,9 @@ class InvalidDBRoot(ODBError):
class BadObject(ODBError):
"""The object with the given SHA does not exist"""
+
+class BadObjectType(ODBError):
+ """The object had an unsupported type"""
class NoSuchPathError(OSError):
""" Thrown if a path could not be access by the system. """