write_name_quoted(): make one of the path a counted string.
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 61bf884f83c121a0f0de13eaa38ca36677a8d34f..634b5aa69cddc412af74da94991bee96101e2701 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -399,6 +399,9 @@ extern int check_repository_format_version(const char *var, const char *value);
 extern char git_default_email[MAX_GITNAME];
 extern char git_default_name[MAX_GITNAME];
 
+#define MAX_ENCODING_LENGTH 64
+extern char git_commit_encoding[MAX_ENCODING_LENGTH];
+
 /* Sane ctype - no locale, and works with signed chars */
 #undef isspace
 #undef isdigit