add.c: extract check_path_for_gitlink() from treat_gitlinks() for reuse
[git] / pathspec.h
1 #ifndef PATHSPEC_H
2 #define PATHSPEC_H
3
4 extern char *find_pathspecs_matching_against_index(const char **pathspec);
5 extern void add_pathspec_matches_against_index(const char **pathspec, char *seen, int specs);
6 extern const char *check_path_for_gitlink(const char *path);
7
8 #endif /* PATHSPEC_H */