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

bug?: merge removes the empty line at the end of file #209

Open
damies13 opened this issue Oct 19, 2024 · 2 comments
Open

bug?: merge removes the empty line at the end of file #209

damies13 opened this issue Oct 19, 2024 · 2 comments

Comments

@damies13
Copy link

I've had this happen a few times when merging branches and there is a file conflict, I use the merge tool in gitfiend and when I push the changes I get a linter error because the empty line at the end of the file is missing.

PYTHON_FLAKE8
  2024-10-19 00:28:21 [INFO]   Linting PYTHON_FLAKE8 items...
  Error: -19 00:28:28 [ERROR]   Found errors when linting PYTHON_FLAKE8. Exit code: 1.
  2024-10-19 00:28:28 [INFO]   Command output for PYTHON_FLAKE8:
  ------
  /github/workspace/rfswarm_reporter/rfswarm_reporter.py:11469:25: W292 no newline at end of file
  ------

It took me a while to realise it's gitfiend doing this.

This issue is a minor inconvenience type bug, but it would be nice if it's fixed eventually.

@damies13
Copy link
Author

version 0.45.3

@GitFiend
Copy link
Owner

Thanks. This will be fixed in the next release.

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

No branches or pull requests

2 participants