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

"Ensure new line at end of file" setting broken? #1611

Closed
lotkao opened this issue Sep 24, 2017 · 5 comments
Closed

"Ensure new line at end of file" setting broken? #1611

lotkao opened this issue Sep 24, 2017 · 5 comments
Labels
can't reproduce A developer couldn't reproduce the issue question

Comments

@lotkao
Copy link

lotkao commented Sep 24, 2017

Hello,

I removed the check mark for "Ensure new line at end of file" hoping it would stop Geany from adding a new line at the end of a file, but Geany is still adding a new line at the end of the file when saving. I closed and opened Geany, but that did not help either.

This is really annoying, as I sometimes open a file and change something temporarily, then revert the changes and save the file in its "original" state, but git still sees it as a changed file due to the added new line at the end.

I am using Ubuntu and the newest version on Ubuntu is 1.27-1, was this a bug that has been fixed in the newer version, or is this currently "standard" behavior?

@codebrainz
Copy link
Member

codebrainz commented Sep 24, 2017 via email

@elextr elextr added the can't reproduce A developer couldn't reproduce the issue label Sep 25, 2017
@elextr
Copy link
Member

elextr commented Sep 25, 2017

Works on 1.31.

@lotkao
Copy link
Author

lotkao commented Sep 26, 2017

You hit the nail on the head codebrains. I was not aware that it is possible to set this specifically for a project. I removed the checkmark in the properties of the project and no new lines are added. Thank you!

@lotkao lotkao closed this as completed Sep 26, 2017
@b4n
Copy link
Member

b4n commented Sep 29, 2017

We should definitely figure out a good way to warn the user in the UI for the settings the project overrides…

@elextr
Copy link
Member

elextr commented Sep 29, 2017

No, projects should be able to override EVERYTHING then we would not need to identify which ones. 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce A developer couldn't reproduce the issue question
Projects
None yet
Development

No branches or pull requests

4 participants