Browse Source

merge: grammofix in please-commit-before-merge message

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Alex Henrie 9 years ago committed by Junio C Hamano
parent
commit
b7447679e8
  1. 2
      advice.c
  2. 2
      contrib/examples/git-pull.sh

2
advice.c

@ -100,7 +100,7 @@ void NORETURN die_conclude_merge(void)
{ {
error(_("You have not concluded your merge (MERGE_HEAD exists).")); error(_("You have not concluded your merge (MERGE_HEAD exists)."));
if (advice_resolve_conflict) 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.")); die(_("Exiting because of unfinished merge."));
} }



2
contrib/examples/git-pull.sh

@ -29,7 +29,7 @@ as appropriate to mark resolution and make a commit.")"
die_merge () { die_merge () {
if [ $(git config --bool --get advice.resolveConflict || echo true) = "true" ]; then if [ $(git config --bool --get advice.resolveConflict || echo true) = "true" ]; then
die "$(gettext "You have not concluded your merge (MERGE_HEAD exists). 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 else
die "$(gettext "You have not concluded your merge (MERGE_HEAD exists).")" die "$(gettext "You have not concluded your merge (MERGE_HEAD exists).")"
fi fi

Loading…
Cancel
Save