Skip to content

Show all unchanged lines #1646

Answered by th1000s
Zebradil asked this question in Q&A
Mar 4, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

delta 1.txt 2.txt calls an external diff tool, but the passed arguments can't be changed. But you can call this tool yourself, and then pipe that to delta:

git diff --no-index -U9999 1.txt 2.txt | delta
or
diff -U9999 1.txt 2.txt | delta

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Zebradil
Comment options

@dandavison
Comment options

Answer selected by Zebradil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants