-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support delta along with ANSI support (continuation) #1298
base: master
Are you sure you want to change the base?
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. |
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.