Filter `git show <commitId>` result with file extension

Viewed 740

Consider a very big changeset. Upon doing git show <sha1>, you get changes related to all files. But I am interested only in changes made to .cpp files, rest files are not useful for my analysis.

How can I filter them out of git show result?

Any command or option.

3 Answers
Related