summaryrefslogtreecommitdiff
path: root/include/git2/refs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/refs.h')
-rw-r--r--include/git2/refs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/refs.h b/include/git2/refs.h
index 65449e69e..1bbb4ca46 100644
--- a/include/git2/refs.h
+++ b/include/git2/refs.h
@@ -586,7 +586,7 @@ GIT_EXTERN(int) git_reference_ensure_log(git_repository *repo, const char *refna
* @return 1 when the reference lives in the refs/heads
* namespace; 0 otherwise.
*/
-GIT_EXTERN(int) git_reference_is_branch(git_reference *ref);
+GIT_EXTERN(int) git_reference_is_branch(const git_reference *ref);
/**
* Check if a reference is a remote tracking branch