From: Pierre Habouzit Date: Mon, 27 Jul 2009 08:26:24 GMT Subject: Re: [PATCH] git-add -p: be able to undo a given hunk Message-ID: <20090727082623.GB18268@laphroaig.corp> In-Reply-To: <20090726153950.GA16780@sigill.intra.peff.net> On Sun, Jul 26, 2009 at 11:39:50AM -0400, Jeff King wrote: > Is this really that different from what you proposed? No it's not, in the sense that what I propose is a subset of your proposal, functionaly speaking ;) > No, I don't really think so in terms of implementation, but it is > really about a different mental model: > > 1. You never delete things. You only copy or move them into registers. > > 2. The interface should be the same whether you are moving between > registers, or to/from the working tree. > > 3. It extends naturally to multiple registers. I like the general idea, I'm unsure what the UI for such tools would look like though. -- Intersec Pierre Habouzit Tél : +33 (0)1 5570 3346 Mob : +33 (0)6 1636 8131 Fax : +33 (0)1 5570 3332 37 Rue Pierre Lhomme 92400 Courbevoie