Thread (1 message) 1 message, 1 author, 2021-10-22

Re: changing the experimental 'git switch'

From: Sergey Organov <hidden>
Date: 2021-10-22 21:54:43

Ævar Arnfjörð Bjarmason [off-list ref] writes:
On Fri, Oct 22 2021, martin wrote:
[...]
quoted
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
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help