summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-02-21 18:41:41 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-02-21 18:41:41 +0000
commit8a0629c12b0d7318946212975fab9ec1b4850ff9 (patch)
tree53f08ecf0a3738f916bcd0f5043ac3bc9369ee67
parent5fbcf005b0a35e0c6a5e8817bc41a7bb981cbca0 (diff)
downloadzsh-8a0629c12b0d7318946212975fab9ec1b4850ff9.tar.gz
zsh-8a0629c12b0d7318946212975fab9ec1b4850ff9.tar.xz
zsh-8a0629c12b0d7318946212975fab9ec1b4850ff9.zip
27731: Frank: turn off WARN_CREATE_GLOBAL in VCS_INFO
-rw-r--r--ChangeLog7
-rw-r--r--Functions/VCS_Info/vcs_info2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 87b60e201..349cfeb6e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-21  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* Frank: 27731: Functions/VCS_Info/vcs_info: turn off
+	WARN_CREATE_GLOBAL.
+
 2010-02-21  Clint Adams  <clint@zsh.org>
 
 	* Michael Prokop: 27725: Completion/Debian/Command/_apt: apt
@@ -12793,5 +12798,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4909 $
+* $Revision: 1.4910 $
 *****************************************************
diff --git a/Functions/VCS_Info/vcs_info b/Functions/VCS_Info/vcs_info
index 906d984ef..a9e65e119 100644
--- a/Functions/VCS_Info/vcs_info
+++ b/Functions/VCS_Info/vcs_info
@@ -40,7 +40,7 @@ vcs_info_setsys
 # and now, finally create the real vcs_info function
 vcs_info () {
     emulate -L zsh
-    setopt extendedglob
+    setopt extendedglob NO_warn_create_global
 
     [[ -r . ]] || return 0