Commit 89494f67 by Yuang Li

add shallow.h

parent 7a936258
...@@ -391,7 +391,7 @@ int git_libgit2_opts(int key, ...) ...@@ -391,7 +391,7 @@ int git_libgit2_opts(int key, ...)
break; break;
case GIT_OPT_ENABLE_SHALLOW: case GIT_OPT_ENABLE_SHALLOW:
git_cache__enabled = (va_arg(ap, int) != 0); git_shallow__enabled = (va_arg(ap, int) != 0);
break; break;
default: default:
......
#include "common.h"
extern bool git_shallow__enabled;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment