feature request: git add--interactive --patch on regex-matched hunks only
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Jul 24, 2011, 05:11 UTC
- Message-ID
- <CACsJy8B1B25DZ1yrzHq69vwgzQyM2ouTXCHb8oPRpb_cAX+JZQ@mail.gmail.com>
Hello Perl heroes,
Can we have "git add--interactive --patch --match=regex" where only (splitted if possible) hunks that match regex are shown?
I've been reviewing a .po file and adding translations that I approve, leaving the rest to be determined later. The problem with .po files is that a lot of comment lines are changes because some translations are moved in source code. I don't care about those comment changes and would like to completely ignore them (even destroy them with git checkout -p).
-- Duy