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.
git show -- *.cpp
works. Without --
, the glob seems unable to work properly.