]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/add.c
pathspec: convert find_pathspecs_matching_against_index to take an index
authorBrandon Williams <bmwill@google.com>
Thu, 11 May 2017 22:04:27 +0000 (15:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 May 2017 05:23:46 +0000 (14:23 +0900)
commit08de9151a8a67f29a3a5a36931298237d78ca736
treee592ee783330d7e4f73315706f56a9cf46a15857
parent2249d4dbc197d45da5407cbc80b2461e49bb8785
pathspec: convert find_pathspecs_matching_against_index to take an index

Convert find_pathspecs_matching_against_index to take an index
parameter.

In addition mark pathspec.c with NO_THE_INDEX_COMPATIBILITY_MACROS now
that it doesn't use any cache macros or reference 'the_index'.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c
builtin/check-ignore.c
pathspec.c
pathspec.h