From 428f1acf97131614d63c23e632ef6ddee7450c51 Mon Sep 17 00:00:00 2001 From: Dmitry Lobanov Date: Tue, 15 Jun 2021 17:33:03 +0300 Subject: submodule: git submodule dup out and source parameters have become mandatory. --- include/git2/submodule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/git2/submodule.h b/include/git2/submodule.h index 857c62f89..29d8bc1ce 100644 --- a/include/git2/submodule.h +++ b/include/git2/submodule.h @@ -227,7 +227,7 @@ 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. Cannot be NULL. + * @param out Pointer to store the copy of the submodule. * @param source Original submodule to copy. */ GIT_EXTERN(int) git_submodule_dup(git_submodule **out, git_submodule *source); -- cgit v1.2.1