Skip to content
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

Editor removes newline character from the end of the file #274

Closed
admirabilis opened this issue Oct 6, 2016 · 3 comments
Closed

Editor removes newline character from the end of the file #274

admirabilis opened this issue Oct 6, 2016 · 3 comments
Assignees
Milestone

Comments

@admirabilis
Copy link

The internal editor removes the newline character from the end of the file, which makes the following appear on the git diff: "\ No newline at end of file".

Besides, a newline at the end of text files is the standard defined by POSIX, and all Unix tools expect this convention and work with it. References:

@maks maks added this to the v1.3.4 milestone Oct 6, 2016
@maks
Copy link
Collaborator

maks commented Oct 6, 2016

Thanks for reporting this. Its definitely incorrect behaviour and very annoying too. I'll try to get it fixed asap.

@maks maks self-assigned this Oct 6, 2016
@admirabilis
Copy link
Author

Great, thank you for your attention!

@maks
Copy link
Collaborator

maks commented Oct 21, 2016

This issue was moved to maks/MGit#6

@maks maks closed this as completed Oct 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants