summaryrefslogtreecommitdiff
path: root/src/branch.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-03-17 16:10:33 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-03-17 17:47:46 +0100
commit853b1407c0325f6690eab92746d1f53c78b0da49 (patch)
tree6258d503486610106af8300dd2a346eebd204ee5 /src/branch.c
parent2b40390f226ac8ba516fdf0d893e0b5a29857dc7 (diff)
downloadlibgit2-853b1407c0325f6690eab92746d1f53c78b0da49.tar.gz
branch: constness fixes
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;