summaryrefslogtreecommitdiff
path: root/include/git2/refs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/refs.h')
-rw-r--r--include/git2/refs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/refs.h b/include/git2/refs.h
index 35c72ac14..2c3aac7b0 100644
--- a/include/git2/refs.h
+++ b/include/git2/refs.h
@@ -213,7 +213,7 @@ GIT_EXTERN(int) git_reference_set_target(git_reference *ref, const char *target)
* memory and on disk.
*
* @param ref The reference
- * @param target The new target OID for the reference
+ * @param id The new target OID for the reference
* @return 0 on success; error code otherwise
*/
GIT_EXTERN(int) git_reference_set_oid(git_reference *ref, const git_oid *id);