aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/env
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-02-16 19:24:34 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-02-16 19:24:34 +0000
commit6851911ccd724444b1fcb03b02f16c1b00c4207b (patch)
treea708c6db12d8ba85008daec632915595272c53c9 /scripts/env
parentb33a75d2f1a179fbe8d4ab0a097e63640e6555b3 (diff)
downloadupstream-6851911ccd724444b1fcb03b02f16c1b00c4207b.tar.gz
upstream-6851911ccd724444b1fcb03b02f16c1b00c4207b.tar.bz2
upstream-6851911ccd724444b1fcb03b02f16c1b00c4207b.zip
[scripts] env: colorize git output
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30602 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/env')
-rwxr-xr-xscripts/env4
1 files 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
}