From e50315d61cada73e66fbf736f16c378c1500ac72 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Thu, 16 Feb 2012 19:24:34 +0000
Subject: [PATCH] env: colorize git output

SVN-Revision: 30602
---
 scripts/env | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/env b/scripts/env
index 80e08ec4ab..24d4bec64f 100755
--- a/scripts/env
+++ b/scripts/env
@@ -96,13 +96,13 @@ env_do_reset() {
 
 env_list() {
 	env_init
-	git branch | grep -vE '^. master$'
+	git branch --color | grep -vE '^. master$'
 }
 
 env_diff() {
 	env_init
 	env_sync_data
-	git diff --cached
+	git diff --cached --color
 	env_link_config
 }
 
-- 
GitLab