From: Junio C Hamano Date: Mon, 17 Dec 2007 11:21:11 GMT Subject: Re: [PATCH] builtin-tag: fix fallouts from recent parsopt restriction. Message-ID: <7v1w9la7o8.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20071217105834.GG7453@artemis.madism.org> Pierre Habouzit 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-" made me realize >> that the alternative I was suggesting earlier would actually work much >> nicer, if you introduce "---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.