diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:16:53 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:16:53 +0900 |
commit | c8b88b462f76efe5cf7773beb6d557fe62fb2dfd (patch) | |
tree | 03de951bdda6792832bd1a499ec550ae1949459e /git-compat-util.h | |
parent | f80fcd36751c85b11722f8c7cfd537c28956400e (diff) | |
download | git-c8b88b462f76efe5cf7773beb6d557fe62fb2dfd.tar.gz git-c8b88b462f76efe5cf7773beb6d557fe62fb2dfd.tar.bz2 git-c8b88b462f76efe5cf7773beb6d557fe62fb2dfd.zip |
Imported Upstream version 2.21.1upstream/2.21.1
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index 6573808e..4d62ad34 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -386,6 +386,10 @@ static inline int git_offset_1st_component(const char *path) #define offset_1st_component git_offset_1st_component #endif +#ifndef is_valid_path +#define is_valid_path(path) 1 +#endif + #ifndef find_last_dir_sep static inline char *git_find_last_dir_sep(const char *path) { |