From: Jeff King Date: Mon, 09 Jun 2008 20:53:21 GMT Subject: Re: squashing patches Message-ID: <20080609205321.GA15912@sigill.intra.peff.net> In-Reply-To: <20080609204327.GD8079@leksak.fem-net> On Mon, Jun 09, 2008 at 10:43:27PM +0200, Stephan Beyer wrote: > Something "like" this was my veeeery first approach: "edit" with commit > was the backwards-compatible "edit" and without arguments was your > "pause". > Example: > pick ea7beef > edit # or "pause" as you suggested > After a little discussion this became: > pick --edit ea7beef > > And I can't objectively say what's better I am just watching this from the sidelines, but it seems to me that you are best off creating the directives as modular and orthogonal as possible. It is very simple to create "pick $1; edit" from "pick --edit $1" later, but it is more difficult to go the other way around. IOW, worry early about flexibility, and later you can build syntactic sugar if you need to. -Peff