Hello,

I would like to add a feature to the diff utility. The feature would allow exclude patterns to match directories as well as base filenames so entire directories can easily be ignored.

The feature adds the option `--exclude-directory` which is intended to be used with `--exclude=PAT` or `--exclude-from=FILE`.

I've attached a patch file which adds this feature along with a couple of tests and documentation.

Is this something that can be added to diff?

David
--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com