mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 15:54:04 +02:00
[scripts] env: colorize git output
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30602 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
694a09285d
commit
8b4aee843b
@ -96,13 +96,13 @@ env_do_reset() {
|
|||||||
|
|
||||||
env_list() {
|
env_list() {
|
||||||
env_init
|
env_init
|
||||||
git branch | grep -vE '^. master$'
|
git branch --color | grep -vE '^. master$'
|
||||||
}
|
}
|
||||||
|
|
||||||
env_diff() {
|
env_diff() {
|
||||||
env_init
|
env_init
|
||||||
env_sync_data
|
env_sync_data
|
||||||
git diff --cached
|
git diff --cached --color
|
||||||
env_link_config
|
env_link_config
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user