]> git.ipfire.org Git - thirdparty/git.git/commitdiff
push: improve grammar of branch.autoSetupMerge advice
authorAlex Henrie <alexhenrie24@gmail.com>
Wed, 28 Sep 2022 05:58:11 +0000 (23:58 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Sep 2022 02:03:10 +0000 (19:03 -0700)
"upstream branches" is plural but "name" and "local branch" are
singular. Make them all singular. And because we're talking about a
hypothetical branch that doesn't exist yet, use the future tense.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c

index df0d68e599857c74a4edf0a85ecdfb037516c47d..f0329c62a2dc04d0422a8de7bd27f813a19115cf 100644 (file)
@@ -169,8 +169,8 @@ static NORETURN void die_push_simple(struct branch *branch,
        if (git_branch_track != BRANCH_TRACK_SIMPLE)
                advice_automergesimple_maybe = _("\n"
                                 "To avoid automatically configuring "
-                                "upstream branches when their name\n"
-                                "doesn't match the local branch, see option "
+                                "an upstream branch when its name\n"
+                                "won't match the local branch, see option "
                                 "'simple' of branch.autoSetupMerge\n"
                                 "in 'git help config'.\n");
        die(_("The upstream branch of your current branch does not match\n"