Skip to content

Conversation

lewis6991
Copy link
Owner

  • When staging files, convert the text into a string before passing to
    system() to ensure EOL is respected.
  • When setting lines. If text doesn't end with an empty line then set
    'eol=false'.

Fixes #1145

- When staging files, convert the text into a string before passing to
  system() to ensure EOL is respected.
- When setting lines. If text doesn't end with an empty line then set
  'eol=false'.

Fixes #1145
@lewis6991 lewis6991 merged commit f10fdda into main Jan 20, 2025
7 checks passed
@lewis6991 lewis6991 deleted the fix/moreeol branch January 20, 2025 12:27
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

Successfully merging this pull request may close these issues.

Gitsigns diffthis stages files with an extra trailing newline
1 participant