summaryrefslogtreecommitdiff
path: root/src/pathspec.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-03-14 13:53:15 -0700
committerRussell Belfer <rb@github.com>2014-04-17 14:43:46 -0700
commit52bb0476a8ad462c56b1d2c68b6d5f20f947ee50 (patch)
treeed4e78ea3062c1b24a78bc82f86685a964fda77e /src/pathspec.c
parent8a2834d34173220c56bd1898397c0e6d200f327d (diff)
downloadlibgit2-52bb0476a8ad462c56b1d2c68b6d5f20f947ee50.tar.gz
Clean up index snapshot function naming
Clear up some of the various "find" functions and the snapshot API naming to be things I like more.
Diffstat (limited to 'src/pathspec.c')
-rw-r--r--src/pathspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathspec.c b/src/pathspec.c
index 471488495..09650de7c 100644
--- a/src/pathspec.c
+++ b/src/pathspec.c
@@ -445,7 +445,7 @@ static int pathspec_match_from_iterator(
/* check if path is ignored and untracked */
if (index != NULL &&
git_iterator_current_is_ignored(iter) &&
- git_index__find(NULL, index, entry->path, 0, GIT_INDEX_STAGE_ANY) < 0)
+ git_index__find_pos(NULL, index, entry->path, 0, GIT_INDEX_STAGE_ANY) < 0)
continue;
/* mark the matched pattern as used */