summaryrefslogtreecommitdiff
path: root/include/git2/branch.h
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 /include/git2/branch.h
parent2b40390f226ac8ba516fdf0d893e0b5a29857dc7 (diff)
downloadlibgit2-853b1407c0325f6690eab92746d1f53c78b0da49.tar.gz
branch: constness fixes
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.