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

Adding a line before ignored lines recovers the last ignored line and ignores the new one #6

Open
itsneufox opened this issue Jan 12, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@itsneufox
Copy link
Owner

When a new line is added before lines that are marked as ignored, the last ignored line gets recovered, and the newly added line becomes ignored instead. This disrupts the functionality and leads to incorrect handling of ignored lines.

Additionally, this behavior breaks the history tracking, as the changes confuse the system.

Expected Behavior:
Adding a line before ignored lines should maintain the ignored state for the original lines, with no recovery or unintended changes.

@itsneufox itsneufox self-assigned this Jan 12, 2025
@itsneufox itsneufox added the bug Something isn't working label Jan 12, 2025
@itsneufox itsneufox pinned this issue Jan 12, 2025
@itsneufox
Copy link
Owner Author

Issue found by @MichaelAceAnderson

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

No branches or pull requests

1 participant