summaryrefslogtreecommitdiff
path: root/include/git2/reflog.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-06-28 07:26:33 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-09-30 15:44:32 +0200
commit20363d583cc843f6b7882094ec5077232e03e16a (patch)
treecd5cc1ab569f6aa39d3ff00d9a8cc6f12bf4ddf0 /include/git2/reflog.h
parenta2a23322193eeca5d2912c0b74c5374f8ec21737 (diff)
downloadlibgit2-20363d583cc843f6b7882094ec5077232e03e16a.tar.gz
reflog: constify byindex
Diffstat (limited to 'include/git2/reflog.h')
-rw-r--r--include/git2/reflog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/reflog.h b/include/git2/reflog.h
index ac42a231c..c949a28f0 100644
--- a/include/git2/reflog.h
+++ b/include/git2/reflog.h
@@ -102,7 +102,7 @@ GIT_EXTERN(size_t) git_reflog_entrycount(git_reflog *reflog);
* equal to 0 (zero) and less than `git_reflog_entrycount()`.
* @return the entry; NULL if not found
*/
-GIT_EXTERN(const git_reflog_entry *) git_reflog_entry_byindex(git_reflog *reflog, size_t idx);
+GIT_EXTERN(const git_reflog_entry *) git_reflog_entry_byindex(const git_reflog *reflog, size_t idx);
/**
* Remove an entry from the reflog by its index