[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:
Petr Baudis
2005-07-29 11:01:26 +02:00
committed by Junio C Hamano
parent 0b124bb4bf
commit 4d1f119033
17 changed files with 17 additions and 18 deletions

View File

@ -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 <type>] [-w] <file>...";
int main(int argc, char **argv)