From: Sverre Rabbelier Date: Tue, 22 Jul 2008 18:53:06 GMT Subject: Re: [PATCH] parse-options: fix parsing of "--foobar=" with no value Message-ID: In-Reply-To: <1216752267-12138-1-git-send-email-dkr+ml.git@free.fr> On Tue, Jul 22, 2008 at 8:44 PM, Olivier Marin 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