diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2015-08-09 23:53:24 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2015-08-12 04:31:22 +0200 |
| commit | c5abf2bcff289363207e0faae8fd33413f59231f (patch) | |
| tree | c0ca2af7b1eefc76376841d0697755d3c9993013 /Functions/VCS_Info/VCS_INFO_formats | |
| parent | 36108: list of major changes so far since 5.0.8 (diff) | |
| download | zsh-c5abf2bcff289363207e0faae8fd33413f59231f.tar zsh-c5abf2bcff289363207e0faae8fd33413f59231f.tar.gz zsh-c5abf2bcff289363207e0faae8fd33413f59231f.tar.bz2 zsh-c5abf2bcff289363207e0faae8fd33413f59231f.tar.lz zsh-c5abf2bcff289363207e0faae8fd33413f59231f.tar.xz zsh-c5abf2bcff289363207e0faae8fd33413f59231f.tar.zst zsh-c5abf2bcff289363207e0faae8fd33413f59231f.zip | |
36077: vcs_info: stop exporting everything
Diffstat (limited to 'Functions/VCS_Info/VCS_INFO_formats')
| -rw-r--r-- | Functions/VCS_Info/VCS_INFO_formats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_formats b/Functions/VCS_Info/VCS_INFO_formats index 138091944..4d0dd75c2 100644 --- a/Functions/VCS_Info/VCS_INFO_formats +++ b/Functions/VCS_Info/VCS_INFO_formats @@ -5,7 +5,7 @@ setopt localoptions noksharrays NO_shwordsplit local msg tmp local -i i -local -xA hook_com +local -A hook_com # The _origs are needed because hooks can change values and there would # be no way to get the originals back for later hooks (a hook is run for # each message, that's being created). @@ -68,7 +68,7 @@ if [[ -n ${hook_com[unstaged]} ]] ; then fi if [[ ${quiltmode} != 'standalone' ]] && VCS_INFO_hook "pre-addon-quilt"; then - local -x REPLY + local REPLY VCS_INFO_quilt addon hook_com[quilt]="${REPLY}" unset REPLY |
