summaryrefslogtreecommitdiff
path: root/include/git2/index.h
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-04-03 15:50:21 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-04-03 16:06:31 +0200
commit3b4ba2787049c561cd7a9e3fea8fc16e473a0b32 (patch)
tree14f1ba819d09fce9872eb31db424b30274447d02 /include/git2/index.h
parentfd61f05ea605155ed9e56bfad0e804c6718e0611 (diff)
downloadlibgit2-3b4ba2787049c561cd7a9e3fea8fc16e473a0b32.tar.gz
Const correctness!
Diffstat (limited to 'include/git2/index.h')
-rw-r--r--include/git2/index.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/index.h b/include/git2/index.h
index 9a7ad28a6..dd6a28e40 100644
--- a/include/git2/index.h
+++ b/include/git2/index.h
@@ -255,7 +255,7 @@ GIT_EXTERN(int) git_index_write(git_index *index);
* @param index an existing index object
* @return path to index file or NULL for in-memory index
*/
-GIT_EXTERN(const char *) git_index_path(git_index *index);
+GIT_EXTERN(const char *) git_index_path(const git_index *index);
/**
* Read a tree into the index file with stats