summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2013-02-12 09:24:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-02-12 18:05:38 (GMT)
commitd32805dce7bdc45a3e4045e999fc5d56e3b46a82 (patch)
treed0948090ec7fe05f4152a3f6c0c01c437df36bb6 /builtin/commit.c
parent901fd180c9d19025bafefc34e131125628169bdd (diff)
downloadgit-d32805dce7bdc45a3e4045e999fc5d56e3b46a82.zip
git-d32805dce7bdc45a3e4045e999fc5d56e3b46a82.tar.gz
git-d32805dce7bdc45a3e4045e999fc5d56e3b46a82.tar.bz2
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index d6dd3df..9668410 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
};