Update index with a pickaxed diff
- From
Jeenu V <jeenuv@gmail.com>
- Date
- Dec 29, 2010, 11:33 UTC
- Message-ID
- <AANLkTi=BJ-8FaN+rk6_74mgM0PVzVP5uhV3aO1A3jUS3@mail.gmail.com>
I'd like to know if there's a quick way of updating the index with the output of 'git diff -S<expr>'. I find this useful if the change set that I wanted to include results from, for example, a mass identifier renaming. That would be easier, especially when my working directory is already dirty with other changes, and I don't have to interactively filter out change sets, other than those matching <expr>.
Thanks.
-- Jeenu