summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemy Suen <remy.suen@gmail.com>2020-01-02 14:57:55 -0500
committerGitHub <noreply@github.com>2020-01-02 14:57:55 -0500
commit5930cf253c5fbbf5d9b17828afd9898103955592 (patch)
tree284814560902469c1e2410eb2771be271103b26f
parentcb17630b75dbdc502c21da8e73641fa932bc8c6b (diff)
downloadlibgit2-5930cf253c5fbbf5d9b17828afd9898103955592.tar.gz
Correct typo in name of referenced parameter
Signed-off-by: Remy Suen <remy.suen@gmail.com>
-rw-r--r--include/git2/branch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/branch.h b/include/git2/branch.h
index 68fe402ed..ba6235900 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