Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not strip trailing whitespace in Git diffs
Problem: Editorconfig was configured to strip trailing whitespace in all file types. This is generally a good thing, but when interactive rebasing with Git and editing the contents of a commit, trailing whitespace is significant on blank lines and must be preserved in order for edits to be applied cleanly. Solution: Update Editorconfig to exclude *.diff from the strip whitespace rule, as interactive rebasing edits are done in a temporary file with a '.diff' suffix.
- Loading branch information