I'd like to write into a file the output from tig show commit-97b061ff commit-59466662 patch
I tried tig show commit-97b061ff commit-59466662 patch >file.txt, but the file was empty. I expected that it would contain the patch actual.
How can I solve it?
If I'd want to save a patch I'd just do
You can save the current view in tig with
:save-view file.txtbut it's for testing purposes - it adds a lot of additional internal information to diff lines, so if you were to use it you'd have to strip those off.