git diff --functional-changes ?
- From
- Christian Heller <christian.heller63@gmail.com>
- Date
- Aug 19, 2022, 16:10 UTC
- Message-ID
- <CAOu2uD_CaVxxEtZhe4197ERDFASckUBtK_NyhmwQXr=5_reSXw@mail.gmail.com>
Feature request
I recently ran GNU indent on a larger C project which made all diffs horribly noisy. Is there an option for git diff to ignore changes due to the placement of curly braces '{', '}' ? Equally helpful would be an option to ignore changes to comments.
Something like: - delete all comments - re-normalize line-breaks and indentation - show only 'functional' changes
Regards, Chris