parse_commit: don't fail, if object is NULL
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 1ecaef14c329d8fed38734a73f0e89607b8ab7a3..43ba6a3ba568fb0b9e93c8aeb78782e12bfda416 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -614,8 +614,8 @@ extern const char *pager_program;
 extern int pager_in_use(void);
 extern int pager_use_color;
 
-extern char *editor_program;
-extern char *excludes_file;
+extern const char *editor_program;
+extern const char *excludes_file;
 
 /* base85 */
 int decode_85(char *dst, const char *line, int linelen);