Moved code detection with `git apply` a la `git blame -C -C`
- From
- Anish Tondwalkar <tondwalkar@virginia.edu>
- Date
- Aug 18, 2015, 20:11 UTC
- Message-ID
- <CALZPV0Dgmu5fJqQEXwxVvn9Na6jUtvkDbAwY9mAZKeFSMqo8xQ@mail.gmail.com>
I stashed some changes, then refactored my code to move the function they're in into a new file. Now, I want to apply it to the new file. I know git can figure out this relationship between the files, because `git blame -C -C` can find it, but is there a "more idiomatic" way to apply this diff than to have git spit out a diff, and edit it manually?
-- Anish