#132 ✓resolved
Sebastian Staudt

Diff view fails with "color.ui = always"

Reported by Sebastian Staudt | April 2nd, 2009 @ 01:20 AM

Setting color.ui = always in gitconfig leads to a failure of the diff view in GitX. The bash color codes are added to the output so syntax highlighting does not work.

Example:


[1mdiff --git a/.gitignore b/.gitignore
[1mnew file mode 100644
index 0000000..f6d8572
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@

The call to git diff (I think in gitx.mm - wasn't able to build GitX to test it at the moment) should be changed to git diff --no-color.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

GitX is the nice-looking gitk clone for OS X

People watching this ticket

Pages