3

How can I list all files in git for which only permission have been changed?

There is git diff -p --name-only --no-ext-diff, but this lists all the files with changed permissons, including the ones, that have changed content.

I just want to list the files with updated permissions, excluding the ones with text changes (even if they have updated permissions).

Edit:

I'v tried: git diff --diff-filter=T as suggested in Filter git diff by type of change but this returns empty output, even if I still see some files without text changes.

Community
  • 1
  • 1
Sfisioza
  • 3,830
  • 6
  • 42
  • 57
  • 1
    Possible duplicate of [Filter git diff by type of change](http://stackoverflow.com/questions/6879501/filter-git-diff-by-type-of-change) – Andrew C Oct 16 '15 at 18:05

0 Answers0