Re: [PATCH] git-add -p: be able to undo a given hunk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]