Wrong tabs in terminal output for git diff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

For git diff and git show commands, terminal output appears with wrong tab stops (missaligned).

Because diff operation inserts a new column at character position 1, for the +, - and space characters, the diff content appears shifted to the right by 1 column. But not the tab stop positions. So relative to the text, the tab stops now appear off-by-one (shifted to the left).

This results in text that appearing missaligned, even though the original file looks fine before the diff.

I believe this is not a new issue, since git gui does the right thing and the tab stops are aligned properly in the GUI.

Is it possible please to fix diff output as well, when used in the terminal (interactive mode) ?

(I can include screenshots but I am not sure what the mailing list policy is about that)

--
Thank you,
Timothy Madden




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux