4 ms·
The doc seems to imply if I have delta installed, it will just automatically use it. But that doesn't seem to be the case, git fuzzy log output looks the same w
by AdamGibbins 6y ago
The doc seems to imply if I have delta installed, it will just automatically use it. But that doesn't seem to be the case, git fuzzy log output looks the same with and without? I have my git pager set to use delta, so I know it works.
- parentheses 6y agoTry `export`ing this env var: https://github.com/bigH/dotfiles/blob/master/configs/core.sh#L138 https://github.com/bigH/dotfiles/blob/master/configs/core.sh... In the meanwhile, I'll try to repro.
- AdamGibbins 6y agoAlso no change, oddly.
- IggleSniggle 6y agoI believe I ran into the same thing. If the other commenter is anything like me, the underlying cause is that `delta` did not support unified diffs until version 0.0.15 (ie only for the last 6 months). I don't even remember when I installed delta the first time, since I ultimately liked ydiff better for side-by-side diffing with line-numbers. I thought I'd give delta a try again only because of this fzf endorsement of it (context is a little different, too, obviously). My perfect diff tooling would support both drop-in replacement for `diff` but unfortunately I still haven't found the one that checks all the feature boxes I want yet. But this fzf wrapper is AWESOME! I tried to do something similar a few months ago and ran out of steam. Glad you didn't! Anyway, updating delta to latest did the trick for me. Note that if you are using homebrew, the formula name is git-delta
- AdamGibbins 6y agoI have 0.1.1 from homebrew.
- Myrmornis 6y ago(delta author here) Line numbers have been added to delta in a contributed PR: https://github.com/dandavison/delta/pull/190 https://github.com/dandavison/delta/pull/190. It will merge soon and be in the next release. And we have an open issue for side-by-side view: https://github.com/dandavison/delta/issues/86 https://github.com/dandavison/delta/issues/86. I definitely plan to get to it! The next release of delta will also provide diff-so-fancy and diff-highlight emulation modes. See https://github.com/dandavison/delta/issues/205 https://github.com/dandavison/delta/issues/205