about summary refs log tree commit diff
path: root/Functions/VCS_Info/VCS_INFO_set
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2011-03-30 21:24:42 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2011-03-30 21:24:42 +0000
commiteb46727d3a03f2282e811664eee68c7e581c3277 (patch)
treecff95cb958d10b22caad53d5f7c762a8d8578a61 /Functions/VCS_Info/VCS_INFO_set
parent7c50fa1262bd106a923f8b7be85d8f23afc4ecc7 (diff)
downloadzsh-eb46727d3a03f2282e811664eee68c7e581c3277.tar.gz
zsh-eb46727d3a03f2282e811664eee68c7e581c3277.tar.xz
zsh-eb46727d3a03f2282e811664eee68c7e581c3277.zip
28959: Make the nvcsformats style be used if vcs_info is disabled.
Diffstat (limited to 'Functions/VCS_Info/VCS_INFO_set')
-rw-r--r--Functions/VCS_Info/VCS_INFO_set5
1 files changed, 0 insertions, 5 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_set b/Functions/VCS_Info/VCS_INFO_set
index 23dc06b4b..5087be43f 100644
--- a/Functions/VCS_Info/VCS_INFO_set
+++ b/Functions/VCS_Info/VCS_INFO_set
@@ -5,11 +5,6 @@
 setopt localoptions noksharrays NO_shwordsplit
 local -i i j
 
-if [[ $1 == '--clear' ]] ; then
-    for i in {0..9} ; do
-        unset vcs_info_msg_${i}_
-    done
-fi
 if [[ $1 == '--nvcs' ]] ; then
     [[ $2 == '-preinit-' ]] && (( maxexports == 0 )) && (( maxexports = 1 ))
     for i in {0..$((maxexports - 1))} ; do