Skip to content

Commit 2a905f8

Browse files
alexhenriegitster
authored andcommitted
push: improve grammar of branch.autoSetupMerge advice
"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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a0feb86 commit 2a905f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/push.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ static NORETURN void die_push_simple(struct branch *branch,
169169
if (git_branch_track != BRANCH_TRACK_SIMPLE)
170170
advice_automergesimple_maybe = _("\n"
171171
"To avoid automatically configuring "
172-
"upstream branches when their name\n"
173-
"doesn't match the local branch, see option "
172+
"an upstream branch when its name\n"
173+
"won't match the local branch, see option "
174174
"'simple' of branch.autoSetupMerge\n"
175175
"in 'git help config'.\n");
176176
die(_("The upstream branch of your current branch does not match\n"

0 commit comments

Comments
 (0)