diff options
| author | Arthur Schreiber <schreiber.arthur@googlemail.com> | 2016-02-11 23:37:52 +0100 |
|---|---|---|
| committer | Arthur Schreiber <schreiber.arthur@googlemail.com> | 2016-02-11 23:41:34 +0100 |
| commit | 3679ebaef5436a662ad74819f6cbd2c1e76e6766 (patch) | |
| tree | fac507cf5de7ba022c71c22186236f6e033ed1e8 /src/pathspec.c | |
| parent | 460ae11f0a8178c5d5abc55574dc3e0e312a47ea (diff) | |
| download | libgit2-3679ebaef5436a662ad74819f6cbd2c1e76e6766.tar.gz | |
Horrible fix for #3173.
Diffstat (limited to 'src/pathspec.c')
| -rw-r--r-- | src/pathspec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pathspec.c b/src/pathspec.c index 5bb69ec4b..8a93cdd50 100644 --- a/src/pathspec.c +++ b/src/pathspec.c @@ -550,7 +550,7 @@ int git_pathspec_match_index( iter_opts.flags = pathspec_match_iter_flags(flags); - if (!(error = git_iterator_for_index(&iter, index, &iter_opts))) { + if (!(error = git_iterator_for_index(&iter, git_index_owner(index), index, &iter_opts))) { error = pathspec_match_from_iterator(out, iter, flags, ps); git_iterator_free(iter); } @@ -718,4 +718,3 @@ const char * git_pathspec_match_list_failed_entry( return entry ? *entry : NULL; } - |
