Skip to content

Commit f517359

Browse files
authored
Merge pull request libgit2#5348 from rcjsuen/patch-2
Correct typo in name of referenced parameter
2 parents cb17630 + 5930cf2 commit f517359

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)