mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
PBGitCommit: Call git show with --no-color to be safe
This fixes ticket #132, where setting color.ui = always in the gitconfig caused GitX to received colorized output for "git show", thereby destroying the diff-output. Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
This commit is contained in:
committed by
Pieter de Bie
parent
16244df346
commit
6912add00e
+1
-1
@@ -73,7 +73,7 @@
|
||||
if (details != nil)
|
||||
return details;
|
||||
|
||||
details = [self.repository outputForArguments:[NSArray arrayWithObjects:@"show", @"--pretty=raw", @"-M", [self realSha], nil]];
|
||||
details = [self.repository outputForArguments:[NSArray arrayWithObjects:@"show", @"--pretty=raw", @"-M", @"--no-color", [self realSha], nil]];
|
||||
|
||||
return details;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user