From 4d1f11903393bd79998144ce1089ce427a49a2ed Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Fri, 29 Jul 2005 11:01:26 +0200 Subject: [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 Signed-off-by: Junio C Hamano --- commit-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commit-tree.c') diff --git a/commit-tree.c b/commit-tree.c index d545f62aaa..b1ef0b590a 100644 --- a/commit-tree.c +++ b/commit-tree.c @@ -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 [-p ]* < changelog"; +static const char commit_tree_usage[] = "git-commit-tree [-p ]* < changelog"; static int new_parent(int idx) { -- cgit v1.2.1