lazygit
lazygit copied to clipboard
Weird behavior when .gitattributes error
Describe the bug When there's a .gitattributes error you are not able to stage certain files for some reason.
To Reproduce Steps to reproduce the behavior:
- Make sure you have a .gitattributes file with an error like this:
*.sh text eol=lf # comments behind a line aren't allowed in .gitattribute files
- Look at the changes and try to stage a file
Expected behavior Normal shown changes.
Screenshots
Desktop (please complete the following information):
- OS: macOS
- Lazygit Version 0.32.2
@dmun could you check if the issue still occurs with the latest master? https://github.com/jesseduffield/lazygit/pull/2081 should have fixed it.
@mark2185 Seems to be working, nice!
Great!
Feel free to reopen if it happens again (but it shouldn't)