Can delta show patch files?
#725
Answered
by
NightMachinery
NightMachinery
asked this question in
Q&A
-
|
Can |
Beta Was this translation helpful? Give feedback.
Answered by
NightMachinery
Sep 28, 2021
Replies: 2 comments
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NightMachinery
-
|
Yes, absolutely. You can provide any kind of unified diff output to its stdin, e.g. delta <file.patchor git format-patch --stdout HEAD^ | deltaIf you have something in your git config like : [pager]
format-patch = deltathen you can also just git format-patch --stdout HEAD^without the explicit pipe. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cat file.patch | deltaworks.