From: a-sk Date: Mon, 1 Jul 2013 21:13:12 +0000 (+0400) Subject: Add retire() as a complement to use() X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/e15ded9bbd12705f7cb81e4ddb9c5f81fdb03b16 Add retire() as a complement to use() --- diff --git a/vcsh b/vcsh index 159feda..15ea098 100755 --- a/vcsh +++ b/vcsh @@ -246,6 +246,11 @@ push() { hook post-push } +retire() { + unset GIT_WORK_TREE + unset VCSH_DIRECTORY +} + rename() { git_dir_exists [ -d "$GIT_DIR_NEW" ] && fatal "'$GIT_DIR_NEW' exists" 54