#1028·difftastic

--skip-unchanged ignores file permissions changes

Author: omenticCreated Aug 7, 2026Updated Aug 7, 2026

I just discovered this while playing around with #1027, somewhat related. The --skip-unchanged flag appears to ignore file permission changes, only covering source code changes. This seems like undesired behaviour.

bash
$ mkdir foo bar foo/baz bar/baz
$ touch foo/foo.txt foo/bar.txt foo/baz/bazinga.txt bar/foo.txt bar/bar.txt
$ chmod +x foo/foo.txt
$ difft --skip-unchanged foo/ bar/
$ difft foo/ bar/
baz/bazinga.txt --- Text
No changes.

bar.txt --- Text
No changes.

foo.txt --- Text
File permissions changed from 100755 to 100644.
No changes.

$ difft --skip-unchanged foo/foo.txt bar/foo.txt
$ difft foo/foo.txt bar/foo.txt 
foo.txt --- Text
File permissions changed from 100755 to 100644.
No changes.