Is there a simple git command to list files whose diffs contain a given string, or will I have to iterate?
I need to commit a refactoring (method name change) separately from other changes, so I need to identify files whose diffs contain the new method name.