summaryrefslogtreecommitdiff
path: root/pathspec.h
diff options
context:
space:
mode:
authorLibravatar Adam Spiers <git@adamspiers.org>2013-01-06 16:58:09 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-06 14:26:37 -0800
commit4b78d7bccdda25290ab6c04bf45d835b4fdfab45 (patch)
tree9a4fd81c44e12f64984af888844cee6078cce2da /pathspec.h
parentadd.c: move pathspec matchers into new pathspec.c for reuse (diff)
downloadtgif-4b78d7bccdda25290ab6c04bf45d835b4fdfab45.tar.xz
pathspec.c: rename newly public functions for clarity
Perform the following function renames to make it explicit that these pathspec handling functions are for matching against the index, rather than against a tree or the working directory. - fill_pathspec_matches() -> add_pathspec_matches_against_index() - find_used_pathspec() -> find_pathspecs_matching_against_index() Signed-off-by: Adam Spiers <git@adamspiers.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pathspec.h')
-rw-r--r--pathspec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pathspec.h b/pathspec.h
index 1cb1909e4c..3852bc0625 100644
--- a/pathspec.h
+++ b/pathspec.h
@@ -1,7 +1,7 @@
#ifndef PATHSPEC_H
#define PATHSPEC_H
-extern char *find_used_pathspec(const char **pathspec);
-extern void fill_pathspec_matches(const char **pathspec, char *seen, int specs);
+extern char *find_pathspecs_matching_against_index(const char **pathspec);
+extern void add_pathspec_matches_against_index(const char **pathspec, char *seen, int specs);
#endif /* PATHSPEC_H */