Re: changing the experimental 'git switch'
- From
Sergey Organov <sorganov@gmail.com>
- Date
- Oct 22, 2021, 21:54 UTC
- Message-ID
- <875ytozpwh.fsf@osv.gnss.ru>
- In-Reply-To
- <211022.86v91pjfn7.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> On Fri, Oct 22 2021, martin wrote: >
[...]
>> If 2 letters could be used, then -c could be given twice for "create copy" >> -c => create >> -c -c => create copy >> -cc => create copy
Please, no!
> Hrm, that's interesting.
Yep, Git UI is too "interesting" already.
> But probably better to have a long-option.
Definitely.
> Some short options (notable -v for --verbose) often work like that, > but I wonder if people wouldn't just be confused by it.
I would be confused. Those options that do behave like that usually just increase (implicit) level of verbosity or debug level, so -vv is a way to say --verbose=2, and -vvv => --verbose=3.
An option that changes its semantic depending on its sequence number is something that I'd avoid like a plague.
Thanks, -- Sergey Organov