[scripts] env: colorize git output
authorFlorian Fainelli <florian@openwrt.org>
Thu, 16 Feb 2012 19:24:34 +0000 (19:24 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 16 Feb 2012 19:24:34 +0000 (19:24 +0000)
SVN-Revision: 30602

scripts/env

index 80e08ec4abf57968cb2b74259fb5cbb0755c743b..24d4bec64f06953695ea3bc0dfafb233d33f96d7 100755 (executable)
@@ -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
 }