Skip to content
Snippets Groups Projects
Commit e15ded9b authored by Alexander Skurikhin's avatar Alexander Skurikhin Committed by Richard Hartmann
Browse files

Add retire() as a complement to use()

parent 1d8970fd
No related branches found
No related tags found
No related merge requests found
...@@ -246,6 +246,11 @@ push() { ...@@ -246,6 +246,11 @@ push() {
hook post-push hook post-push
} }
retire() {
unset GIT_WORK_TREE
unset VCSH_DIRECTORY
}
rename() { rename() {
git_dir_exists git_dir_exists
[ -d "$GIT_DIR_NEW" ] && fatal "'$GIT_DIR_NEW' exists" 54 [ -d "$GIT_DIR_NEW" ] && fatal "'$GIT_DIR_NEW' exists" 54
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment