summaryrefslogtreecommitdiff
path: root/git/exc.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/exc.py')
-rw-r--r--git/exc.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/git/exc.py b/git/exc.py
index f5b52374..34382ecd 100644
--- a/git/exc.py
+++ b/git/exc.py
@@ -14,6 +14,10 @@ class InvalidGitRepositoryError(Exception):
""" Thrown if the given repository appears to have an invalid format. """
+class WorkTreeRepositoryUnsupported(InvalidGitRepositoryError):
+ """ Thrown to indicate we can't handle work tree repositories """
+
+
class NoSuchPathError(OSError):
""" Thrown if a path could not be access by the system. """