Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2005-07-29 13:01:26 +0400
committerJunio C Hamano <junkio@cox.net>2005-07-30 04:21:50 +0400
commit4d1f11903393bd79998144ce1089ce427a49a2ed (patch)
tree1abd1ae3781d10f15834ab35e12cc7d2252ad9a6 /ls-files.c
parent0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e (diff)
[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 'ls-files.c')
-rw-r--r--ls-files.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ls-files.c b/ls-files.c
index 41a1f9d1c2..13ca02ec73 100644
--- a/ls-files.c
+++ b/ls-files.c
@@ -400,11 +400,10 @@ static void show_files(void)
}
}
-static const char *ls_files_usage =
+static const char ls_files_usage[] =
"git-ls-files [-z] [-t] (--[cached|deleted|others|stage|unmerged|killed])* "
"[ --ignored ] [--exclude=<pattern>] [--exclude-from=<file>] "
"[ --exclude-per-directory=<filename> ]";
-;
int main(int argc, char **argv)
{