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

Do not panic on superimposition mismatch in release builds #1450

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 17, 2024

  1. Do not panic on superimposition mismatch in release builds

    Lines which would trigger a panic and early exit with the message
    "String mismatch encountered while superimposing style sections"
    now try to print the line as well as possible plus a brief error message.
    
    In debug builds and when running from the target/ dir (such as when
    core.pager = "target/release/delta" is set) or when the env var
    DELTA_NO_WORKAROUNDS is set this mismatch panics as before.
    th1000s authored and dandavison committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    dc55684 View commit details
    Browse the repository at this point in the history