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
commite50315d61cada73e66fbf736f16c378c1500ac72 (patch)
tree2a47db02d0228bf5beaf6d4c6e000c2534512bd5 /scripts/env
parente4d39271b0fedb9c77d8daccf1a4caefd46ffdf6 (diff)
downloadupstream-e50315d61cada73e66fbf736f16c378c1500ac72.tar.gz
upstream-e50315d61cada73e66fbf736f16c378c1500ac72.tar.bz2
upstream-e50315d61cada73e66fbf736f16c378c1500ac72.zip
env: colorize git output
SVN-Revision: 30602
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
}