]> git.ipfire.org Git - thirdparty/git.git/commitdiff
rebase: fix capitalisation autoSquash in i18n string
authorFangyi Zhou <me@fangyi.io>
Sun, 26 Feb 2023 18:00:29 +0000 (18:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2023 20:10:29 +0000 (12:10 -0800)
The config option (as documented) for rebase.autoSquash has a capital S,
whereas the command line option has a small case s.

Cf. <20220617100309.3224-1-worldhello.net@gmail.com>

Signed-off-by: Fangyi Zhou <me@fangyi.io>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c

index 6635f10d5294d16d017eae225de799efb7b1b9aa..9a18f9b4b893589cf62618b72c573a8bef028a1e 100644 (file)
@@ -1513,7 +1513,7 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)
                                die(_("apply options and merge options "
                                          "cannot be used together"));
                        else if (options.autosquash == -1 && options.config_autosquash == 1)
-                               die(_("apply options are incompatible with rebase.autosquash.  Consider adding --no-autosquash"));
+                               die(_("apply options are incompatible with rebase.autoSquash.  Consider adding --no-autosquash"));
                        else if (options.update_refs == -1 && options.config_update_refs == 1)
                                die(_("apply options are incompatible with rebase.updateRefs.  Consider adding --no-update-refs"));
                        else