]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-compat-util.h
mailinfo: factor out some repeated header handling
[thirdparty/git.git] / git-compat-util.h
index ddb7fca8d64be03109f2038193a64888df2019c4..aed0b5d4f9028a5ae38e8676ec2d1c3a63dfdc97 100644 (file)
@@ -377,6 +377,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)
 {