mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
env: colorize git output
SVN-Revision: 30602
This commit is contained in:
parent
e4d39271b0
commit
e50315d61c
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user