Avoid diff colorization when piping
[khome.git] / Makefile
index c2d4b8c..788b7d2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -159,7 +159,7 @@ $(foreach d,$(DEPS),$(eval $(call GEN_DEP_RULE,$(d))))
 diff:
        find home -type f -print0 \
        | $(SED) -z 's/^home\///g' \
-       | xargs -0 -I% sh -c 'echo %; $(DIFF) --color=always ~/% home/%'
+       | xargs -0 -I% sh -c 'echo %; $(DIFF) --color=auto ~/% home/%'
 
 pull:
        find home -type f -print0 \
This page took 0.020208 seconds and 4 git commands to generate.