Support delta along with ANSI support (continuation)#1298
Support delta along with ANSI support (continuation)#1298pablospe wants to merge 20 commits intojonas:masterfrom
Conversation
|
Note for anyone landing on this PR that might want to try building and running it locally - this PR does not integrate delta's |
Just FYI I believe I have fixed this, will keep everybody posted over the next few days and hopefully submit a new PR. |
|
Ok @pablospe I created pablospe#1! The issue seems to be that Lines 25 to 36 in b5f6193 The option is certainly not necessary when piping into Since this stems from some sort of race condition, can someone confirm that this change fixes the commit-diff-browsing issue (#1298 (comment)) on their machine as well? @JelteF? @pablospe? |
|
Delta support would be great. Is there a plan to merge this PR back in? |
@idvorkin the bug currently being discussed above would be a blocker for merging it. Also, there is another bug/missing feature that hasn't been discussed yet -- line/hunk staging is broken when using |
Another one: pressing |
Hmm, yeah that's indeed broken for me too. (I didn't use that before so I don't mind much honestly)
Also didn't use that often before, but that one can be worked I worked around by using |
|
I'm |
|
Actually, this is what I am using myself at the moment (as work around) with delta, until this PR is ready. Two shortcuts: 'd' (in general) and 'D' (inside tmux) .tigrc .delta.gitconfig .gitconfig |
|
I managed to get a consistent segfault using this branch when viewing this specific commit: ClickHouse/ClickBench@fdfdb5d Backtrace: |
|
Other issue I found. Very long lines overflow to the next lines somehow. Causing "white text" at the end of the line that they overflow to and when selecting these lines you will see more than one line being selected: Example above is from this commit: duckdb/pg_duckdb@953ffc4 |
|
Issue number 3: Possibly related to the above. If you scroll to the right with the right arrow, then lines will lose their background color. |
|
sorry I haven't been active on this but just noting that this branch is also missing delta highlighting in stash view. |
|
For anyone finding this issue, this is the branch I'm currently using happily (merged with current main branch and with the @vxsl fix): https://github.com/JelteF/tig/tree/ansi-support-jelte |


The original pull request was closed due to the author deleting their account.
Original PR description
#542 (comment)
how to use delta in tig?
It requires ncurse 6.1 or higher.
Note: a more detailed installation instructions can be found in this comment from @adamency.