Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f27f29b

Browse files
committed
include: Fix unmatched params in documentation
1 parent d37ba67 commit f27f29b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/git2/reflog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ GIT_EXTERN(unsigned int) git_reflog_entrycount(git_reflog *reflog);
8181
*
8282
* @param reflog a previously loaded reflog
8383
* @param idx the position to lookup
84-
* @param the entry; NULL if not found
84+
* @return the entry; NULL if not found
8585
*/
8686
GIT_EXTERN(const git_reflog_entry *) git_reflog_entry_byindex(git_reflog *reflog, unsigned int idx);
8787

include/git2/refspec.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ int git_refspec_src_match(const git_refspec *refspec, const char *refname);
3333
* Transform a reference to its target following the refspec's rules
3434
*
3535
* @param out where to store the target name
36-
* @param in the source reference
36+
* @param outlen the size ouf the `out` buffer
3737
* @param spec the refspec
38-
* @param len the length of the out buffer
38+
* @param name the name of the reference to transform
3939
* @preturn GIT_SUCCESS, GIT_ESHORTBUFFER or another error
4040
*/
41-
int git_refspec_transform(char *out, size_t outlen, const git_refspec *spec, const char *name);
41+
int git_refspec_transform(char *out, size_t outlen, const git_refspec *spec, const char *name);
4242
#endif

0 commit comments

Comments
 (0)