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

fix: more EOL fixes #1175

Merged
merged 1 commit into from
Jan 20, 2025
Merged

fix: more EOL fixes #1175

merged 1 commit into from
Jan 20, 2025

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