summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2020-05-12 11:30:27 +0200
committerPatrick Steinhardt <ps@pks.im>2020-06-27 14:33:58 +0200
commit05e286fba318d21147347a572b05b0d1dac79610 (patch)
treef2b88a018e06344c0a26016039b5f09b780cbd8b /include
parent14a309ab384a8732f692e468ac56c0d1831fce2f (diff)
downloadlibgit2-05e286fba318d21147347a572b05b0d1dac79610.tar.gz
grafts: move parsing into grafts module
Parsing of grafts files is currently contained in the repository code. To make grafts-related logic more self-contained, move it into "grafts.c" instead.
Diffstat (limited to 'include')
-rw-r--r--include/git2/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h
index 8887b3299..47a79b76c 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -108,7 +108,8 @@ typedef enum {
GIT_ERROR_WORKTREE,
GIT_ERROR_SHA1,
GIT_ERROR_HTTP,
- GIT_ERROR_INTERNAL
+ GIT_ERROR_INTERNAL,
+ GIT_ERROR_GRAFTS
} git_error_t;
/**