diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2013-02-12 10:24:44 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-12 10:05:38 -0800 |
commit | d32805dce7bdc45a3e4045e999fc5d56e3b46a82 (patch) | |
tree | d0948090ec7fe05f4152a3f6c0c01c437df36bb6 /builtin/commit.c | |
parent | 901fd180c9d19025bafefc34e131125628169bdd (diff) | |
download | git-d32805dce7bdc45a3e4045e999fc5d56e3b46a82.tar.gz |
Replace filepattern with pathspec for consistency
pathspec is the most widely used term, and is the one defined in
gitglossary.txt. <filepattern> was used only in the synopsys for git-add
and git-commit, and in git-add.txt. Get rid of it.
This patch is obtained with by running:
perl -pi -e 's/filepattern/pathspec/' `git grep -l filepattern`
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
-rw-r--r-- | builtin/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index d6dd3df8b1..96684108e7 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -31,12 +31,12 @@ #include "sequencer.h" static const char * const builtin_commit_usage[] = { - N_("git commit [options] [--] <filepattern>..."), + N_("git commit [options] [--] <pathspec>..."), NULL }; static const char * const builtin_status_usage[] = { - N_("git status [options] [--] <filepattern>..."), + N_("git status [options] [--] <pathspec>..."), NULL }; |