aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-16 14:32:32 -0700
committerJunio C Hamano <gitster@pobox.com>2015-10-16 14:32:32 -0700
commitc7997e54a5dd75803657b25aea101255f388ac08 (patch)
tree2dc49a343351b57281ba5f1b06f6fe3133ef3610
parent22f698cb188243b313e024d618283e0293e37140 (diff)
parente7a7401f8ba22995708fb015b7c75f45256e05bf (diff)
downloadgit-c7997e54a5dd75803657b25aea101255f388ac08.tar.gz
git-c7997e54a5dd75803657b25aea101255f388ac08.tar.xz
Merge branch 'pt/pull-builtin' into maint
* pt/pull-builtin: pull: enclose <options> in brackets in the usage string merge: grammofix in please-commit-before-merge message
-rw-r--r--advice.c2
-rw-r--r--builtin/pull.c2
-rwxr-xr-xcontrib/examples/git-pull.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/advice.c b/advice.c
index 4965686e1..4dc5cf10a 100644
--- a/advice.c
+++ b/advice.c
@@ -100,7 +100,7 @@ void NORETURN die_conclude_merge(void)
{
error(_("You have not concluded your merge (MERGE_HEAD exists)."));
if (advice_resolve_conflict)
- advise(_("Please, commit your changes before you can merge."));
+ advise(_("Please, commit your changes before merging."));
die(_("Exiting because of unfinished merge."));
}
diff --git a/builtin/pull.c b/builtin/pull.c
index a39bb0a11..bf3fd3f9c 100644
--- a/builtin/pull.c
+++ b/builtin/pull.c
@@ -66,7 +66,7 @@ static int parse_opt_rebase(const struct option *opt, const char *arg, int unset
}
static const char * const pull_usage[] = {
- N_("git pull [options] [<repository> [<refspec>...]]"),
+ N_("git pull [<options>] [<repository> [<refspec>...]]"),
NULL
};
diff --git a/contrib/examples/git-pull.sh b/contrib/examples/git-pull.sh
index e8dc2e0e7..6b3a03f9b 100755
--- a/contrib/examples/git-pull.sh
+++ b/contrib/examples/git-pull.sh
@@ -69,7 +69,7 @@ as appropriate to mark resolution and make a commit.")"
die_merge () {
if [ $(git config --bool --get advice.resolveConflict || echo true) = "true" ]; then
die "$(gettext "You have not concluded your merge (MERGE_HEAD exists).
-Please, commit your changes before you can merge.")"
+Please, commit your changes before merging.")"
else
die "$(gettext "You have not concluded your merge (MERGE_HEAD exists).")"
fi