summaryrefslogtreecommitdiff
path: root/src/index.c
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 /src/index.c
parentfd61f05ea605155ed9e56bfad0e804c6718e0611 (diff)
downloadlibgit2-3b4ba2787049c561cd7a9e3fea8fc16e473a0b32.tar.gz
Const correctness!
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c
index ea0815e4c..3fcd21115 100644
--- a/src/index.c
+++ b/src/index.c
@@ -553,7 +553,7 @@ int git_index_write(git_index *index)
return 0;
}
-const char * git_index_path(git_index *index)
+const char * git_index_path(const git_index *index)
{
assert(index);
return index->index_file_path;