diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2012-10-30 05:04:21 +0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2012-10-30 05:04:21 +0400 |
commit | f45ec1a076e2347ba5d63eeb2d158f87b612e5cb (patch) | |
tree | 2e2bebc12e64e6f48eabde6010bf775b3fc6cd6e /src/iterator.c | |
parent | 81eecc342b3580e9b05e501c8ee75c7e2e0dca1a (diff) |
index refactoring
Diffstat (limited to 'src/iterator.c')
-rw-r--r-- | src/iterator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iterator.c b/src/iterator.c index df6da9a87..5fac41046 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -336,7 +336,7 @@ static int index_iterator__current( git_iterator *self, const git_index_entry **entry) { index_iterator *ii = (index_iterator *)self; - git_index_entry *ie = git_index_get(ii->index, ii->current); + git_index_entry *ie = git_index_get_byindex(ii->index, ii->current); if (ie != NULL && ii->base.end != NULL && |