Thread (6 messages) flat view 6 messages, 5 authors, 2016-06-15

Re: [PATCH] parse-options: fix parsing of "--foobar=" with no value

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:44:59

On Tue, Jul 22, 2008 at 8:44 PM, Olivier Marin [off-list ref] wrote:
We should instead, exit with an error if a value is required, or use
the default one if the value is optional.
This makes no sense, when I run "git foo --bar=" I either mean "set
bar to empty" or I typo-ed. Why would I specify "--bar=" if I want the
default value?

-- 
Cheers,

Sverre Rabbelier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help