summaryrefslogtreecommitdiff
path: root/read-tree.c
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2005-07-29 11:01:26 +0200
committerJunio C Hamano <junkio@cox.net>2005-07-29 17:21:50 -0700
commit4d1f11903393bd79998144ce1089ce427a49a2ed (patch)
tree1abd1ae3781d10f15834ab35e12cc7d2252ad9a6 /read-tree.c
parent0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e (diff)
downloadgit-4d1f11903393bd79998144ce1089ce427a49a2ed.tar.gz
[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>
Diffstat (limited to 'read-tree.c')
-rw-r--r--read-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-tree.c b/read-tree.c
index 65f2d9a5dc..ce2bb88f0a 100644
--- a/read-tree.c
+++ b/read-tree.c
@@ -510,7 +510,7 @@ static int read_cache_unmerged(void)
return deleted;
}
-static char *read_tree_usage = "git-read-tree (<sha> | -m [-u] <sha1> [<sha2> [<sha3>]])";
+static const char read_tree_usage[] = "git-read-tree (<sha> | -m [-u] <sha1> [<sha2> [<sha3>]])";
static struct cache_file cache_file;