Re: help.autoCorrect prefix selection considered a bit dangerous
- Date: Tue, 20 Nov 2018 12:23:59 +0900
- From: Junio C Hamano <gitster@xxxxxxxxx>
- Subject: Re: help.autoCorrect prefix selection considered a bit dangerous
Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> writes:
> I don't have time to poke at this now, but wonder if:
> 1) The correction facility shouldn't at least have a list of "this does
> stuff over the wire" commands and would then use a more conservative
Not limited to 'over the wire' but 'can have consequences that might
cause regret' would be a reasonable list to have.
On a similar topic, it would be a disaster for "git reset --h<RET>"
to complete to "--hard" instead of "--help", for example. Perhaps
parse-options API also needs to learn a list of possibly regrettable