]> git.ipfire.org Git - thirdparty/git.git/commitdiff
diff: --pickaxe-all typofix
authorBagas Sanjaya <bagasdotme@gmail.com>
Wed, 4 Aug 2021 12:24:20 +0000 (19:24 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Aug 2021 17:34:47 +0000 (10:34 -0700)
When I was fixing fuzzies as I updating po/id.po for 2.33.0 l10n round,
I noticed a triple-dash typo (--pickaxe-all) at diff.c, which according
to git-diff(1) manpage, the correct option name should be --pickaxe-all.

Fix the typo.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c

diff --git a/diff.c b/diff.c
index fe3abac79feb46c255aafb25bab97aeaea583859..084f7b1baea20f5173def6a427914692609862b5 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -4636,7 +4636,7 @@ void diff_setup_done(struct diff_options *options)
                die(_("-G and --pickaxe-regex are mutually exclusive, use --pickaxe-regex with -S"));
 
        if (HAS_MULTI_BITS(options->pickaxe_opts & DIFF_PICKAXE_KINDS_ALL_OBJFIND_MASK))
-               die(_("---pickaxe-all and --find-object are mutually exclusive, use --pickaxe-all with -G and -S"));
+               die(_("--pickaxe-all and --find-object are mutually exclusive, use --pickaxe-all with -G and -S"));
 
        /*
         * Most of the time we can say "there are changes"