diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-01 17:23:15 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-01 17:23:15 +0000 |
commit | 00f1d3b2c9fb002ee153f3723c0a8f43ca688f84 (patch) | |
tree | f4b79f0908cfdce7604371812fbda5d771668ddc | |
parent | abaa37b9e8f528355c23a4c743d68afdc4479471 (diff) | |
download | upstream-00f1d3b2c9fb002ee153f3723c0a8f43ca688f84.tar.gz upstream-00f1d3b2c9fb002ee153f3723c0a8f43ca688f84.tar.bz2 upstream-00f1d3b2c9fb002ee153f3723c0a8f43ca688f84.zip |
env: allow passing a commit message on save
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45592 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | scripts/env | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/env b/scripts/env index 5542b2017b..63e26eb154 100755 --- a/scripts/env +++ b/scripts/env @@ -15,7 +15,8 @@ Commands: delete <name> Delete an environment rename <newname> Rename the current environment diff Show differences between current state and environment - save Save your changes to the environment + save [message] Save your changes to the environment, optionally using + the given commit message revert Revert your changes since last save Options: @@ -109,7 +110,7 @@ env_diff() { env_save() { env_init - env_sync + env_sync "$@" env_link_config } |