[PATCH] fetch.c: Remove some duplicated code in process()
[gitweb.git] / commit-tree.c
index d545f62aaa48f2fb9f3aff5fd422c7ab32d94c62..b1ef0b590ab879fbbc93d04a2f8f488a223ea58d 100644 (file)
@@ -64,7 +64,7 @@ static void check_valid(unsigned char *sha1, const char *expect)
 #define MAXPARENT (16)
 static unsigned char parent_sha1[MAXPARENT][20];
 
-static char *commit_tree_usage = "git-commit-tree <sha1> [-p <sha1>]* < changelog";
+static const char commit_tree_usage[] = "git-commit-tree <sha1> [-p <sha1>]* < changelog";
 
 static int new_parent(int idx)
 {