forked from dandavison/delta
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
c1e8e7b
commit dc55684
Showing
2 changed files
with
84 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters