From: Johannes Schindelin Date: Sat, 15 Apr 2006 11:46:02 GMT Subject: Re: Recent unresolved issues Message-ID: In-Reply-To: <7vk69ri5cp.fsf@assigned-by-dhcp.cox.net> Hi, On Sat, 15 Apr 2006, Junio C Hamano wrote: > Honestly, the longer I look at it, the more I feel that this way > might break more things than it fixes. I haven't even looked at > blame.c or http-push.c to see what's broken yet. I do not have time to look at this closely, but it sounds to me like you need a two-stage approach: setup_diff_options(&options); [... set defaults ...] handle_cmdline_arguments(&options); [... possibly check if the user overrode some defaults ...] I think that the unified option parsing is the right approach. Ciao, Dscho