summaryrefslogtreecommitdiff
path: root/src/branch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/branch.c')
-rw-r--r--src/branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/branch.c b/src/branch.c
index 7c888729d..df665a469 100644
--- a/src/branch.c
+++ b/src/branch.c
@@ -588,7 +588,7 @@ on_error:
}
int git_branch_is_head(
- git_reference *branch)
+ const git_reference *branch)
{
git_reference *head;
bool is_same = false;