Re: feature request: git add--interactive --patch on regex-matched hunks only

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

 



It would be even more cool if --hunks (or whatever the name will be)
could work without -p. I mean, if "git diff" supports it, then I can
fine tune my regex to meet a selection of hunks I want, and verify it
really is what I want. Then "git add --hunks=magic" and voila! (The
"git add --hunks" without -p surely can be workaround by adding "-p",
then accept all hunks).

And if diff machinery learns this, we would have "git log --hunks" too.

OK I'm asking too much..
-- 
Duy
--
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]