-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Adam Spiers
authored and
Junio C Hamano
committed
Jan 6, 2013
1 parent
6f525e7
commit 4b78d7b
Showing
3 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 */ |