Re: squashing patches
- From
Jeff King <peff@peff.net>
- Date
- Jun 10, 2008, 01:00 UTC
- Message-ID
- <20080610010033.GB16050@sigill.intra.peff.net>
- In-Reply-To
- <20080609235733.GG8079@leksak.fem-net>
On Tue, Jun 10, 2008 at 01:57:33AM +0200, Stephan Beyer wrote:
Show 7 quoted lines
> > 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