summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Lobanov <gaussblurinc@gmail.com>2021-06-01 17:52:57 +0300
committerDmitry Lobanov <gaussblurinc@gmail.com>2021-06-01 17:52:57 +0300
commitca2ff5abb8d321b185007be11ea1ad8959e9708d (patch)
treed777cf6b4b26f2cc5b36481773a2c2e850935d6f
parentbf1616d1dd1768efd5bafe4a683a3a45d3c1a33b (diff)
downloadlibgit2-ca2ff5abb8d321b185007be11ea1ad8959e9708d.tar.gz
submodule: git submodule dup documentation has been fixed.
-rw-r--r--include/git2/submodule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/submodule.h b/include/git2/submodule.h
index e5bd4c7b2..857c62f89 100644
--- a/include/git2/submodule.h
+++ b/include/git2/submodule.h
@@ -227,8 +227,8 @@ GIT_EXTERN(int) git_submodule_lookup(
* Create an in-memory copy of a submodule. The copy must be explicitly
* free'd or it will leak.
*
- * @param out Pointer to store the copy of the submodule
- * @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.
*/
GIT_EXTERN(int) git_submodule_dup(git_submodule **out, git_submodule *source);