Commit d6f57b9c by Dmitry Lobanov

submodule: git submodule dup guard statement has been fixed.

parent 49f9941d
......@@ -1857,7 +1857,7 @@ static void submodule_release(git_submodule *sm)
git_submodule* git_submodule_dup(git_submodule *sm)
{
if (!sm)
return;
return NULL;
GIT_REFCOUNT_INC(sm);
return sm;
}
......
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