assert NOARG/NONEG behavior of parse-options callbacks
[gitweb.git] / git-compat-util.h
index 8121b73b4a98e896994054d4369143bdb0b71a99..96a3f86d8e6991e19815008a3a6b8cebe95b1ca8 100644 (file)
@@ -382,6 +382,10 @@ static inline char *git_find_last_dir_sep(const char *path)
 #define find_last_dir_sep git_find_last_dir_sep
 #endif
 
+#ifndef query_user_email
+#define query_user_email() NULL
+#endif
+
 #if defined(__HP_cc) && (__HP_cc >= 61000)
 #define NORETURN __attribute__((noreturn))
 #define NORETURN_PTR