Commit 5930cf253c5fbbf5d9b17828afd9898103955592

Remy Suen 2020-01-02T14:57:55

Correct typo in name of referenced parameter Signed-off-by: Remy Suen <remy.suen@gmail.com>

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