Skip to content

gl diff: not working with diff-so-fancy or delta #241

Description

@SimpelMe

Hi.
I use diff-so-fancy as my core.pager while diff (core.pager=diff-so-fancy | less --tabs=4 -RFX).

$ gl diff
Diff-so-fancy: https://github.com/so-fancy/diff-so-fancy
Version      : 1.3.0

Usage:

git diff --color | diff-so-fancy         # Use d-s-f on one diff
cat diff.txt | diff-so-fancy             # Use d-s-f on a diff/patch file
diff -u one.txt two.txt | diff-so-fancy  # Use d-s-f on unified diff output

diff-so-fancy --colors                   # View the commands to set the recommended colors
diff-so-fancy --set-defaults             # Configure git-diff to use diff-so-fancy and suggested colors

# Configure git to use d-s-f for *all* diff operations
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
✘ Call to pager diff-so-fancy | less --tabs=4 -RFX failed

Do you see any possibility to get that work?

Regards, Simpel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions