summaryrefslogtreecommitdiff
path: root/builtin/range-diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/range-diff.c')
-rw-r--r--builtin/range-diff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/range-diff.c b/builtin/range-diff.c
index aafcc99b96..1bc082a869 100644
--- a/builtin/range-diff.c
+++ b/builtin/range-diff.c
@@ -7,6 +7,7 @@
#include "range-diff.h"
#include "config.h"
#include "parse.h"
+#include "color.h"
static const char * const builtin_range_diff_usage[] = {
@@ -87,7 +88,7 @@ int cmd_range_diff(int argc,
/* force color when --dual-color was used */
if (!simple_color)
- diffopt.use_color = 1;
+ diffopt.use_color = GIT_COLOR_ALWAYS;
/* If `--diff-merges` was specified, imply `--merges` */
if (diff_merges_arg.nr) {