You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #1175 landed, now I'm getting the opposite issue that had been reported in #1145. Before it landed, things were working fine. Now, my staged files are getting trailing newlines stripped so there's always a diff whenever writing a staging file with diffthis.
My hunch with this is that there may be different initial values for eol and fixeol. I have both eol and fixeol enabled (which is the default). If I manually :set eol in the staging buffer in diffthis, then I can write the buffer with the trailing newline properly appended and no diff between staging and the local workspace.
The text was updated successfully, but these errors were encountered:
So sorry. I had a remediation in an autocmd that was setting noeol and nofixeol in gitsigns buffers. Things do in fact work fine now, no remediation necessary anymore. Thanks!
Since #1175 landed, now I'm getting the opposite issue that had been reported in #1145. Before it landed, things were working fine. Now, my staged files are getting trailing newlines stripped so there's always a diff whenever writing a staging file with diffthis.
My hunch with this is that there may be different initial values for
eol
andfixeol
. I have botheol
andfixeol
enabled (which is the default). If I manually:set eol
in the staging buffer in diffthis, then I can write the buffer with the trailing newline properly appended and no diff between staging and the local workspace.The text was updated successfully, but these errors were encountered: