We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 642a6ef commit 6315975Copy full SHA for 6315975
src/cli.js
@@ -48,7 +48,11 @@
48
return '"' + arg + '"'; // wrap parameters
49
}).join(' ');
50
} else {
51
- gitArgs = '-M -C --no-color HEAD';
+ gitArgs = '-M -C HEAD';
52
+ }
53
+
54
+ if (gitArgs.indexOf('--no-color') < 0) {
55
+ gitArgs += '--no-color';
56
}
57
58
var diffCommand = 'git diff ' + gitArgs;
0 commit comments