Re: squashing patches
From: Jeff King <hidden>
Date: 2016-06-15 22:44:43
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