Re: [RFC PATCH] git-add--interactive: manual hunk editing mode v2

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

 



Hi,

On Thu, 5 Jun 2008, Jeff King wrote:

> I think there are two extremes here:
> 
>  1. We provide a very limited interface. E.g., you pick a line to 
>     arbitrarily split the hunk.
> 
>  2. We provide a very flexible interface. You get dumped in your editor 
>     with the hunk text, and we try to apply the result. Powerful, but 
>     easy to shoot yourself in the foot.

We have a tradition of giving the users plenty of rope.

And I actually like having the power at my finger tips.  You would not 
believe how I enjoyed using "git add -e" to commit the final version of 
that very patch.

I, for one, will probably use this feature almost exclusively, 
_especially_ since I look at the diffs before committing _anyway_, and I 
cannot count the times when I had to go to another window to fix up a 
stupid debug message or typo.  Now I will do that right away, and be done 
with it.  I can even stash the debug messages for future use!

Ciao,
Dscho

--
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]

  Powered by Linux