about summary refs log tree commit diff
diff options
context:
space:
mode:
-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