summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'git.go')
-rw-r--r--git.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/git.go b/git.go
index 2afbfaa..48ffeee 100644
--- a/git.go
+++ b/git.go
@@ -89,6 +89,10 @@ const (
ErrIterOver = C.GIT_ITEROVER
)
+var (
+ ErrInvalid = errors.New("Invalid state for operation")
+)
+
func init() {
C.git_threads_init()
}