Revision 03b0403b4a957bb52f5266ac071869da32a3be0a authored by Michael Haggerty on 05 March 2014, 17:26:28 UTC, committed by Junio C Hamano on 05 March 2014, 20:33:53 UTC
If *slash == '/', then it is necessarily non-NUL.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 79192b8
Raw File
pathspec.h
#ifndef PATHSPEC_H
#define PATHSPEC_H

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);
extern void die_if_path_beyond_symlink(const char *path, const char *prefix);

#endif /* PATHSPEC_H */
back to top