Commit 8ef492fa by yuangli

fix build warning

parent da04d3fc
...@@ -389,7 +389,7 @@ static int checkout_branch(git_repository *repo, git_remote *remote, const git_c ...@@ -389,7 +389,7 @@ static int checkout_branch(git_repository *repo, git_remote *remote, const git_c
return error; return error;
} }
static int git_fetch_is_shallow(git_fetch_options *opts) static int git_fetch_is_shallow(const git_fetch_options *opts)
{ {
return opts->depth > 0; return opts->depth > 0;
} }
......
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