Skip to content

Commit ca2ff5a

Browse files
committed
submodule: git submodule dup documentation has been fixed.
1 parent bf1616d commit ca2ff5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/git2/submodule.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ GIT_EXTERN(int) git_submodule_lookup(
227227
* Create an in-memory copy of a submodule. The copy must be explicitly
228228
* free'd or it will leak.
229229
*
230-
* @param out Pointer to store the copy of the submodule
231-
* @param source Original tag to copy
230+
* @param out Pointer to store the copy of the submodule. Cannot be NULL.
231+
* @param source Original submodule to copy.
232232
*/
233233
GIT_EXTERN(int) git_submodule_dup(git_submodule **out, git_submodule *source);
234234

0 commit comments

Comments
 (0)