summaryrefslogtreecommitdiff
path: root/diff-cache.c
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2005-07-29 09:01:26 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-07-30 00:21:50 (GMT)
commit4d1f11903393bd79998144ce1089ce427a49a2ed (patch)
tree1abd1ae3781d10f15834ab35e12cc7d2252ad9a6 /diff-cache.c
parent0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e (diff)
downloadgit-4d1f11903393bd79998144ce1089ce427a49a2ed.zip
git-4d1f11903393bd79998144ce1089ce427a49a2ed.tar.gz
git-4d1f11903393bd79998144ce1089ce427a49a2ed.tar.bz2
[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-cache.c')
-rw-r--r--diff-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-cache.c b/diff-cache.c
index e3c4c81..47a4e09 100644
--- a/diff-cache.c
+++ b/diff-cache.c
@@ -163,7 +163,7 @@ static void mark_merge_entries(void)
}
}
-static char *diff_cache_usage =
+static const char diff_cache_usage[] =
"git-diff-cache [-m] [--cached] "
"[<common diff options>] <tree-ish> [<path>...]"
COMMON_DIFF_OPTIONS_HELP;