threads / patch / 58017

patchpush: fix capitalisation of the option name autoSetupMerge

Subject: [PATCH] push: fix capitalisation of the option name autoSetupMerge

## tl;dr

2 messages between Jun 15, 2022 and Jun 15, 2022. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Fangyi Zhou via GitGitGadget· Jun 15, 2022, 15:35 UTC · lore
From: Fangyi Zhou <me@fangyi.io>
This was found during l10n process by Jiang Xin.
Reported-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Fangyi Zhou <me@fangyi.io>
---
    push: Fix capitalisation of the option name autoSetupMerge
    
    This was found during l10n process by Jiang Xin.
    
    Signed-off-by: Fangyi Zhou me@fangyi.io
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1276%2Ffangyi-zhou%2Fautosetupmerge-capitalisation-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1276/fangyi-zhou/autosetupmerge-capitalisation-v1
Pull-Request: https://github.com/git/git/pull/1276
 builtin/push.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to builtin/push.c +1 −1
diff --git a/builtin/push.c b/builtin/push.c
index 86b44f8aa71..df0d68e5998 100644
--- a/builtin/push.c
+++ b/builtin/push.c
@@ -171,7 +171,7 @@ static NORETURN void die_push_simple(struct branch *branch,
 				 "To avoid automatically configuring "
 				 "upstream branches when their name\n"
 				 "doesn't match the local branch, see option "
-				 "'simple' of branch.autosetupmerge\n"
+				 "'simple' of branch.autoSetupMerge\n"
 				 "in 'git help config'.\n");
 	die(_("The upstream branch of your current branch does not match\n"
 	      "the name of your current branch.  To push to the upstream branch\n"

base-commit: 8168d5e9c23ed44ae3d604f392320d66556453c9
-- 
gitgitgadget
Junio C Hamano· Jun 15, 2022, 18:47 UTC · re: Fangyi Zhou via GitGitGadget · lore

Re: [PATCH] push: fix capitalisation of the option name autoSetupMerge

"Fangyi Zhou via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 13 quoted lines
> From: Fangyi Zhou <me@fangyi.io>
>
> This was found during l10n process by Jiang Xin.
> ...
> @@ -171,7 +171,7 @@ static NORETURN void die_push_simple(struct branch *branch,
>  				 "To avoid automatically configuring "
>  				 "upstream branches when their name\n"
>  				 "doesn't match the local branch, see option "
> -				 "'simple' of branch.autosetupmerge\n"
> +				 "'simple' of branch.autoSetupMerge\n"
>  				 "in 'git help config'.\n");
>  	die(_("The upstream branch of your current branch does not match\n"
>  	      "the name of your current branch.  To push to the upstream branch\n"

As this affects translation, I'll fast-track and apply the patch directly on 'master', as the underlying topic that brought in this string is a new feature that will never be merged down to maintenance tracks.

Thanks.

← back to recent threads