diff options
author | Petr Baudis <pasky@suse.cz> | 2005-07-29 11:01:26 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-07-29 17:21:50 -0700 |
commit | 4d1f11903393bd79998144ce1089ce427a49a2ed (patch) | |
tree | 1abd1ae3781d10f15834ab35e12cc7d2252ad9a6 /diff-tree.c | |
parent | 0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e (diff) | |
download | git-4d1f11903393bd79998144ce1089ce427a49a2ed.tar.gz git-4d1f11903393bd79998144ce1089ce427a49a2ed.tar.xz |
[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 'diff-tree.c')
-rw-r--r-- | diff-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-tree.c b/diff-tree.c index 5b9467d58..0dd3cdacb 100644 --- a/diff-tree.c +++ b/diff-tree.c @@ -395,7 +395,7 @@ static int diff_tree_stdin(char *line) return diff_tree_commit(commit, line); } -static char *diff_tree_usage = +static const char diff_tree_usage[] = "git-diff-tree [--stdin] [-m] [-s] [-v] [--pretty] [-t] " "[<common diff options>] <tree-ish> <tree-ish>" COMMON_DIFF_OPTIONS_HELP; |