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

diff in pager mode doesn't handle unchanged line that starts with a hyphen #871

Closed
jarrodldavis opened this issue Oct 7, 2018 · 1 comment

Comments

@jarrodldavis
Copy link

When viewing a diff in pager mode, tig appears to misread an unchanged line that starts with a hyphen (-) and interpret it as a deleted line. Here are some screenshots of this commit in pager mode, diff mode, and plain output from git.

tig, pager mode (using git show):

screen shot 2018-10-07 at 4 23 34 pm

tig, diff mode (using tig show):

screen shot 2018-10-07 at 4 23 51 pm

plain git output (using git --no-pager show):

screen shot 2018-10-07 at 4 24 05 pm

Relevant configuration:

  • I have core.pager in my git config set to tig
  • I emptied my tigrc so that only the default settings were used.
@jarrodldavis
Copy link
Author

It looks like this was fixed in #877

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

1 participant