add.c: extract check_path_for_gitlink() from treat_gitlinks() for reuse
[gitweb.git] / pathspec.h
index 3852bc06252fe996fd5ff56750edbcd85872bb4e..bf8eb9629add8798c6d9c1a8dbc5215a5ba8a4e6 100644 (file)
@@ -3,5 +3,6 @@
 
 extern char *find_pathspecs_matching_against_index(const char **pathspec);
 extern void add_pathspec_matches_against_index(const char **pathspec, char *seen, int specs);
+extern const char *check_path_for_gitlink(const char *path);
 
 #endif /* PATHSPEC_H */