Commit f51735973b36799b10a039b6e61ff844cae7c0d2

Patrick Steinhardt 2020-01-06T11:45:47

Merge pull request #5348 from rcjsuen/patch-2 Correct typo in name of referenced parameter

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/branch.h b/include/git2/branch.h
index 68fe402..ba62359 100644
--- a/include/git2/branch.h
+++ b/include/git2/branch.h
@@ -211,7 +211,7 @@ GIT_EXTERN(int) git_branch_upstream(
 /**
  * Set a branch's upstream branch
  *
- * This will update the configuration to set the branch named `name` as the upstream of `branch`.
+ * This will update the configuration to set the branch named `branch_name` as the upstream of `branch`.
  * Pass a NULL name to unset the upstream information.
  *
  * @note the actual tracking reference must have been already created for the