summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuang Li <yuangli@uk-yuangli-l.dhcp.mathworks.com>2022-06-28 09:29:10 +0100
committerYuang Li <yuangli@uk-yuangli-l.dhcp.mathworks.com>2022-06-28 09:29:10 +0100
commit59189757116e2f793f0901afdfa0dea916d34444 (patch)
treed11137fe724fa7919302afe0ba9e70aa572f22b1
parentc4cd9a54b83700bd9166a78af3986df0e42e1e92 (diff)
downloadlibgit2-59189757116e2f793f0901afdfa0dea916d34444.tar.gz
disable shallow clone support by default
-rw-r--r--src/grafts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grafts.c b/src/grafts.c
index 0ffe4677a..003522616 100644
--- a/src/grafts.c
+++ b/src/grafts.c
@@ -11,7 +11,7 @@
#include "oidarray.h"
#include "parse.h"
-bool git_shallow__enabled = true;
+bool git_shallow__enabled = false;
struct git_grafts {
/* Map of `git_commit_graft`s */