diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2016-11-15 14:36:33 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2016-11-15 14:36:33 +0100 |
commit | 060649e0f103ff37924140bb6584be9843f666e9 (patch) | |
tree | 57717b2214c27a67a6fffba2c9facf5d08220b85 /include/git2/errors.h | |
parent | 49656a5b6beff3b2e91ca1894bb3d72671bb4d8f (diff) | |
download | libgit2-cmn/cancellation.tar.gz |
Add minimal cancellation to diffcmn/cancellation
Diffstat (limited to 'include/git2/errors.h')
-rw-r--r-- | include/git2/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h index e959ffd8a..6fce8ac65 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -50,6 +50,7 @@ typedef enum { GIT_EUNCOMMITTED = -22, /**< Uncommitted changes in index prevented operation */ GIT_EDIRECTORY = -23, /**< The operation is not valid for a directory */ GIT_EMERGECONFLICT = -24, /**< A merge conflict exists and cannot continue */ + GIT_ECANCELLED = -25, /**< The operation was canceled */ GIT_PASSTHROUGH = -30, /**< Internal only */ GIT_ITEROVER = -31, /**< Signals end of iteration with iterator */ @@ -100,6 +101,7 @@ typedef enum { GITERR_REBASE, GITERR_FILESYSTEM, GITERR_PATCH, + GITERR_CANCELLATION, } git_error_t; /** |