summaryrefslogtreecommitdiff
path: root/include/git2/branch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/branch.h')
-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 46aef3206..d2762019b 100644
--- a/include/git2/branch.h
+++ b/include/git2/branch.h
@@ -238,7 +238,7 @@ GIT_EXTERN(int) git_branch_upstream_name(
* error code otherwise.
*/
GIT_EXTERN(int) git_branch_is_head(
- git_reference *branch);
+ const git_reference *branch);
/**
* Return the name of remote that the remote tracking branch belongs to.