Re: squashing patches
From: Jeff King <hidden>
Date: 2016-06-15 22:44:43
On Tue, Jun 10, 2008 at 01:57:33AM +0200, Stephan Beyer wrote:
quoted
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.Perhaps it is just me, but isn't "pick X ; edit" more modular and orthogonal than "pick --edit X"? ;-)
Sorry, I chose a bad phrase. When I said "create X from Y", I meant "when the user gives you Y, you can produce the canonical X". Not "once we have the canonical Y, you can create X out of it." So I appear to have said the exact opposite of what I meant. :)
But yes, the "pick --edit X" => "pick X ; edit" conversion seems easier.
Exactly. -Peff