After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 617776 - When color.ui=always in .gitconfig, gitg's diff output gets screwed up
When color.ui=always in .gitconfig, gitg's diff output gets screwed up
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gitg
git master
Other Linux
: Normal normal
: ---
Assigned To: gitg-maint
gitg-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-05 15:40 UTC by Chow Loong Jin
Modified: 2010-05-29 10:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add --no-color to some git diff and git show invocations (1.57 KB, patch)
2010-05-05 15:42 UTC, Chow Loong Jin
none Details | Review

Description Chow Loong Jin 2010-05-05 15:40:31 UTC
Originally reported by Daniel Nyström at https://bugs.launchpad.net/ubuntu/+source/gitg/+bug/570152,

Since I've got "ui = always" in the [color]-section in my .gitconfig all output contains terminal control sequencies and therefore screws up the revision diff view.

A fix is attached.
Comment 1 Chow Loong Jin 2010-05-05 15:42:36 UTC
Created attachment 160353 [details] [review]
Add --no-color to some git diff and git show invocations
Comment 2 jessevdk@gmail.com 2010-05-29 10:53:04 UTC
Thanks! This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.