Skip to content
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

The tig cannot display the space style of eol #552

Open
griffinqiu opened this issue Dec 4, 2016 · 6 comments
Open

The tig cannot display the space style of eol #552

griffinqiu opened this issue Dec 4, 2016 · 6 comments

Comments

@griffinqiu
Copy link

I could see the special style of the space of eol in git diff.
However, I could not see the style in tig. Even I use W switch all modes.

@jonas
Copy link
Owner

jonas commented Dec 9, 2016

Did you try putting this in ~/.tigrc?

set ignore-space = at-eol

@griffinqiu
Copy link
Author

griffinqiu commented Jan 14, 2017

screen shot 2017-01-14 at 20 35 25

screen shot 2017-01-14 at 20 35 44

@jonas
I just want to have the style eol in tig. Please see the images for more details.

@jonas
Copy link
Owner

jonas commented Jan 14, 2017

Ah, I misunderstood. Tig doesn't seem support highlighting space at EOL.

@ocoka
Copy link

ocoka commented Mar 6, 2017

As I can understand, we talk about the same feature
image
#573

@jonas
Copy link
Owner

jonas commented Jul 10, 2017

This is partially supported since version 2.2.2 with set diff-highlight = true

screen shot 2017-07-09 at 10 49 31 pm

More configurable support would require to switch the diff view to --word-diff=porcelain (#221).

@liming01
Copy link

liming01 commented Dec 6, 2024

It seems that tig also not highlight while git support core.whitespace=tab-in-indent even if use git version 2.2.2 with set diff-highlight = true.

left is git show, right is tig show at blew image:

WeChat1d799d3271d5b8e01bdccf1fda3c4705

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants