[PATCH] Unify usage strings declaration
All usage strings are now declared as static const char []. This is carried over from my old git-pb branch. Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
0b124bb4bf
commit
4d1f119033
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user