summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2023-04-22 23:19:59 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2023-04-24 11:49:12 +0100
commitdd15c615bde54eb02c5cec17257a83dcd8528371 (patch)
tree882f31fe53a21966733e67ef759d678bce13b62f /include
parent190a4c55df72b32adf4d60f77cbc47276b74f84b (diff)
downloadlibgit2-dd15c615bde54eb02c5cec17257a83dcd8528371.tar.gz
shallow: remove feature flag
The opt mechanism isn't _really_ meant to be for feature flags, and it's weird to feature flag shallow / unshallow at all.
Diffstat (limited to 'include')
-rw-r--r--include/git2/common.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index b09b078a1..f968deb23 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -224,8 +224,7 @@ typedef enum {
GIT_OPT_GET_OWNER_VALIDATION,
GIT_OPT_SET_OWNER_VALIDATION,
GIT_OPT_GET_HOMEDIR,
- GIT_OPT_SET_HOMEDIR,
- GIT_OPT_ENABLE_SHALLOW
+ GIT_OPT_SET_HOMEDIR
} git_libgit2_opt_t;
/**
@@ -462,9 +461,6 @@ typedef enum {
* > { "!noop", "newext" } indicates that the caller does not want
* > to support repositories with the `noop` extension but does want
* > to support repositories with the `newext` extension.
- *
- * opts(GIT_OPT_ENABLE_SHALLOW, int enabled)
- * > Enable or disable shallow clone support completely.
*
* opts(GIT_OPT_GET_OWNER_VALIDATION, int *enabled)
* > Gets the owner validation setting for repository