summaryrefslogtreecommitdiff
path: root/tests-clar/attr/repo.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-20 19:57:46 -0700
committerBen Straub <bs@github.com>2012-11-27 13:18:28 -0800
commitf45d51ff8e04c6849413c13aedcf5abacc3c69bd (patch)
treedab9495e4954677f12475d8335cd2ea9e752f24e /tests-clar/attr/repo.c
parentd9023dbe0cb5d47e30d86149701b7be9006f7683 (diff)
downloadlibgit2-f45d51ff8e04c6849413c13aedcf5abacc3c69bd.tar.gz
API updates for index.h
Diffstat (limited to 'tests-clar/attr/repo.c')
-rw-r--r--tests-clar/attr/repo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/attr/repo.c b/tests-clar/attr/repo.c
index b51d5e335..1d2b1e8df 100644
--- a/tests-clar/attr/repo.c
+++ b/tests-clar/attr/repo.c
@@ -267,7 +267,7 @@ static void add_to_workdir(const char *filename, const char *content)
static void assert_proper_normalization(git_index *index, const char *filename, const char *expected_sha)
{
int index_pos;
- git_index_entry *entry;
+ const git_index_entry *entry;
add_to_workdir(filename, CONTENT);
cl_git_pass(git_index_add_from_workdir(index, filename));