Pierre Habouzit <madcoder@xxxxxxxxxx> writes: > On Mon, Dec 17, 2007 at 10:53:00AM +0000, Junio C Hamano wrote: > ... >> This is just a quick idea before I go back to sleep, but your earlier >> comment on "--no-<an-option-that-is-not-even-boolean>" made me realize >> that the alternative I was suggesting earlier would actually work much >> nicer, if you introduce "--<an-option-that-take-optional-arg>-default" >> magic. > > meeeow I love the idea ! There is a bit more serious issue than coding, actually. Short options. A script wants to use default rename detection threshold for unknown commit $foo whose name might look like a number. IOW, this git diff -M $foo could be ambiguous. Obviously, "git diff -M-default $foo" would not fly very well. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html