Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Document newlines change after switching git branches from magit #21

Open
Ruin0x11 opened this issue Mar 22, 2018 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Ruin0x11
Copy link
Owner

Ruin0x11 commented Mar 22, 2018

Leaving a buffer open while changing branches from magit causes linefeeds (^M) to become visible. May have to do with emacs' buffer coding not being applied when getting changes with a different kind of newline. Killing the buffer and reopening it restores the proper newline settings, so the file on disk would be the correct revision.

@Ruin0x11 Ruin0x11 added the bug Something isn't working label Apr 22, 2018
@Ruin0x11
Copy link
Owner Author

Ruin0x11 commented May 1, 2018

Seems to be an Emacs behavior, since I've had this happen even when not using lsp-intellij at all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant