[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Re: [PATCH] git-add -p: be able to undo a given hunk
From:       Pierre Habouzit <madcoder () madism ! org>
Date:       2009-07-27 8:26:24
Message-ID: 20090727082623.GB18268 () laphroaig ! corp
[Download RAW message or body]

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 <http://www.intersec.com>
Pierre Habouzit <pierre.habouzit@intersec.com>
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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic