diff options
Diffstat (limited to 'src/index.c')
| -rw-r--r-- | src/index.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/index.c b/src/index.c index f3ced9e39..1e5b28002 100644 --- a/src/index.c +++ b/src/index.c @@ -1641,8 +1641,7 @@ int git_index_read_tree_match( pfx = git_pathspec_prefix(strspec); - if ((error = git_iterator_for_tree_range( - &iter, INDEX_OWNER(index), tree, pfx, pfx)) < 0 || + if ((error = git_iterator_for_tree_range(&iter, tree, pfx, pfx)) < 0 || (error = git_iterator_current(iter, &entry)) < 0) goto cleanup; |
