summaryrefslogtreecommitdiff
path: root/scripts/env
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-16 19:24:34 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-16 19:24:34 +0000
commit8b4aee843bbd9d4e87e2c63b9c6d9d34c142a272 (patch)
treea708c6db12d8ba85008daec632915595272c53c9 /scripts/env
parent694a09285d2499aef5f7954ec7c331246e9c16e7 (diff)
[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
}