Good-lookin' diffs. Actually… nah… The best-lookin' diffs. :tada:
git
hg
)starts_with_ansi
always returned 1 and had inverted logic by @rwe in https://github.com/so-fancy/diff-so-fancy/pull/422
GIT_CONFIG
by @rwe in https://github.com/so-fancy/diff-so-fancy/pull/420
pro-tips.md
by @vladdoster in https://github.com/so-fancy/diff-so-fancy/pull/426
Full Changelog: https://github.com/so-fancy/diff-so-fancy/compare/v1.4.3...v1.4.4
This is a maintenance release. This code was already "released" but wasn't official on Github. This just makes it official on Github.
This is a bugfix release related to specific color strings people may have in their ~/.gitconfig
that diff-so-fancy didn't recognize.
This is the "QuickSilver" release as it's main focus is speed, speed, speed. Previously diff-so-fancy did a lot of shelling out to read the git config (5+ per invocation). This slowed down start up and was a personal pet peeve of mine. After much tweaking we've decreased the startup time by more than 60%.
:perl third_party/cli_bench/cli_bench.pl '/tmp/diff-so-fancy-1.4.1 < /tmp/simple.diff'
...................................................
27 ms: %%%%%%%%%%%%%%%%%% (10.0%)
28 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (45.0%)
29 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (35.0%)
30 ms: %%%%%%%%%%%%%%%%%% (10.0%)
Ran '/tmp/diff-so-fancy-1.4.1 < /tmp/simple.diff' 50 times with average completion time of 28 ms
:perl third_party/cli_bench/cli_bench.pl '/tmp/diff-so-fancy-1.4.0 < /tmp/simple.diff'
...................................................
71 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (22.5%)
72 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (40.0%)
73 ms: %%%%%%%%%%%%%%%%%%%%%%%%%% (12.5%)
74 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (25.0%)
Ran '/tmp/diff-so-fancy-1.4.0 < /tmp/simple.diff' 50 times with average completion time of 72 ms
Version 1.4.0 aka the --patch
release
--patch
mode thanks to @wren. This was our most popular issue and it is now behind us!--debug
option was added to aid in troubleshootingtput
calculations because we get a lot of bugs about thatMinor version release to fix a bug.
git log
better (addresses #199)rulerWidth
in the config/dev/null
And by overwhelming request...