diff mbox series

push: fix capitalisation of the option name autoSetupMerge

Message ID pull.1276.git.git.1655307345132.gitgitgadget@gmail.com (mailing list archive)
State Accepted
Commit 1f8496c65f963d2b75ef57dc4f09dbc2f5646bf3
Headers show
Series push: fix capitalisation of the option name autoSetupMerge | expand

Commit Message

Fangyi Zhou June 15, 2022, 3:35 p.m. UTC
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(-)


base-commit: 8168d5e9c23ed44ae3d604f392320d66556453c9

Comments

Junio C Hamano June 15, 2022, 6:47 p.m. UTC | #1
"Fangyi Zhou via GitGitGadget" <gitgitgadget@gmail.com> writes:

> 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.
diff mbox series

Patch

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"