summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Schubert <schu@schu.io>2012-10-24 15:33:31 +0200
committerMichael Schubert <schu@schu.io>2012-10-24 15:33:47 +0200
commitbed5f9dcee412f613ebb1991201c7ae5d6f36d7e (patch)
tree5c3aeb675bd3dbfa9727bfe13f853e35c2bba96a /include
parent85525e9962eeafddc2b2fd952d46508f4b6bf750 (diff)
downloadlibgit2-bed5f9dcee412f613ebb1991201c7ae5d6f36d7e.tar.gz
push: deny non-fast-forward pushes
Diffstat (limited to 'include')
-rw-r--r--include/git2/errors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h
index 38b7fe0ae..b4463f722 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -28,6 +28,7 @@ enum {
GIT_EUSER = -7,
GIT_EBAREREPO = -8,
GIT_EORPHANEDHEAD = -9,
+ GIT_ENONFASTFORWARD = -10,
GIT_PASSTHROUGH = -30,
GIT_ITEROVER = -31,