Skip to content

Make all files end in a newline #552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2019
Merged

Make all files end in a newline #552

merged 1 commit into from
Apr 7, 2019

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented Feb 19, 2019

When a file doesn't end in a newline, it causes Git diffs to show the previous last line of the file as having been modified when new line(s) are added after it, even when no modification was made. This makes the diff more difficult and slow to review.
clipboard01

When a file doesn't end in a newline, it causes Git diffs to show the previous last line of the file as having been modified when new line(s) are added after it, even when no modification was made. This makes the diff more difficult and slow to review.
@robsoncouto robsoncouto merged commit 680b59a into arduino:master Apr 7, 2019
@per1234 per1234 deleted the newline-at-end-of-file branch April 7, 2019 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants