We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf1616d commit ca2ff5aCopy full SHA for ca2ff5a
include/git2/submodule.h
@@ -227,8 +227,8 @@ GIT_EXTERN(int) git_submodule_lookup(
227
* Create an in-memory copy of a submodule. The copy must be explicitly
228
* free'd or it will leak.
229
*
230
- * @param out Pointer to store the copy of the submodule
231
- * @param source Original tag to copy
+ * @param out Pointer to store the copy of the submodule. Cannot be NULL.
+ * @param source Original submodule to copy.
232
*/
233
GIT_EXTERN(int) git_submodule_dup(git_submodule **out, git_submodule *source);
234
0 commit comments