summaryrefslogtreecommitdiff
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
parente4d39271b0fedb9c77d8daccf1a4caefd46ffdf6 (diff)
downloadmtk-20170518-e50315d61cada73e66fbf736f16c378c1500ac72.zip
mtk-20170518-e50315d61cada73e66fbf736f16c378c1500ac72.tar.gz
mtk-20170518-e50315d61cada73e66fbf736f16c378c1500ac72.tar.bz2
env: colorize git output
SVN-Revision: 30602
-rwxr-xr-xscripts/env4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/env b/scripts/env
index 80e08ec..24d4bec 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
}