ident.c: check explicit identity for name and email separately
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index bf468e52352c193b355222b718d9f5125c26052c..16c8e8df418dc6d7f7abcaf115bcc584ad06fb45 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -925,6 +925,9 @@ extern const char *config_exclusive_filename;
 #define MAX_GITNAME (1000)
 extern char git_default_email[MAX_GITNAME];
 extern char git_default_name[MAX_GITNAME];
+#define IDENT_NAME_GIVEN 01
+#define IDENT_MAIL_GIVEN 02
+#define IDENT_ALL_GIVEN (IDENT_NAME_GIVEN|IDENT_MAIL_GIVEN)
 extern int user_ident_explicitly_given;
 
 extern const char *git_commit_encoding;