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 --- hash-object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hash-object.c') diff --git a/hash-object.c b/hash-object.c index 0821e543f5..c8c9adb3aa 100644 --- a/hash-object.c +++ b/hash-object.c @@ -21,7 +21,7 @@ static void hash_object(const char *path, const char *type, int write_object) printf("%s\n", sha1_to_hex(sha1)); } -static const char *hash_object_usage = +static const char hash_object_usage[] = "git-hash-object [-t ] [-w] ..."; int main(int argc, char **argv) -- cgit v1.2.3