Is there a way to limit
git diff master.. | perl -lnwe 'print unless /^(new|deleted) file/../^diff/ and not /^diff/'
diff --git a/path b/path
git diff --name-status (args) | perl -lnwe 'print if s/^M\s+//' | xargs git diff (args) --
You are looking for
--diff-filter=M to show only files *M*odified between the two branches.
Select only files that are
Thave their type (mode) changed
Bhave had their pairing Broken
Any combination of the filter characters may be used.
When * (All-or-none) is added to the combination, all paths are selected if there is any file that matches other criteria in the comparison; if there is no file that matches other criteria, nothing is selected.