cargo git-delta 0.9.0

latest releases: 0.17.0, 0.16.5, 0.16.4...
2 years ago

With this release, long lines are wrapped in side-by-side mode, thanks to a far-reaching series of contributions by @th1000s (see #515). No special customization is needed, but sophisticated control over the details is available: see --wrap-max-lines, --wrap-left-symbol, --wrap-right-symbol, --wrap-right-percent, --wrap-right-prefix-symbol, --inline-hint-style.

In the image below, the long deleted line in the left panel overflows by a small amount, and the wrapped content is right-aligned in the next line. In contrast, the long replacement line in the right panel overflows by almost an entire line, and so the wrapped content is left aligned in the next line. The arrow markers and ellipsis explain when and how text has been wrapped.

image

What's Changed

  • Fix the empty result issue in add -p by @norisio in #664
  • Recognize GitHub SSH remote URLs that don't start with git@ for hyperlinks by @spaarmann in #668
  • Terminate process gracefully on error in diff() by @dandavison in #685
  • Ignore ctrl-c (SIGINT) to avoid leaving an orphaned pager process. by @dandavison in #686
  • Remove unnecessary borrows by @benarmstead in #692
  • Fix computed values to be computed after all set_options by @ulwlu in #690
  • Make it possible to jump between files when navigate is active by @dandavison in #684
  • Fix empty line highlighting by @th1000s in #642
  • Fix deadlock in git diff mode by @dandavison in #695
  • Support insteadOf replacements in git remote URLs by @dandavison in #694
  • Do not suppress submodule diffs by @dandavison in #699
  • More minimalistic display of submodule (short) diffs by @dandavison in #700
  • Fix hunk header when line number is not requested and navigate is enabled by @dandavison in #710
  • Display removed file name in file deletion case by @dandavison in #717
  • Remove superfluous lowercasing of feature names by @Tak in #718
  • Option to set the background extension mode to ANSI or spaces by @th1000s in #512
  • Add side-by-side line wrapping mode by @th1000s in #515
  • Width can be an offset from the terminal width by @th1000s in #727
  • Linenumber refactoring by @th1000s in #740
  • Use fatal() to exit with errorcode 2 by @th1000s in #739
  • Re-enable ANSI fill by equalizing panel sizes by @th1000s in #742
  • Update syntaxes and themes from bat v0.18.3 by @FnControlOption in #702
  • Line numbers and side-by-side mode by @th1000s in #748

New Contributors

Full Changelog: 0.8.3...0.9.0

Don't miss a new git-delta release

NewReleases is sending notifications on new releases.