Skip to content

Commit 5930cf2

Browse files
authored
Correct typo in name of referenced parameter
Signed-off-by: Remy Suen <remy.suen@gmail.com>
1 parent cb17630 commit 5930cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/git2/branch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ GIT_EXTERN(int) git_branch_upstream(
211211
/**
212212
* Set a branch's upstream branch
213213
*
214-
* This will update the configuration to set the branch named `name` as the upstream of `branch`.
214+
* This will update the configuration to set the branch named `branch_name` as the upstream of `branch`.
215215
* Pass a NULL name to unset the upstream information.
216216
*
217217
* @note the actual tracking reference must have been already created for the

0 commit comments

Comments
 (0)