mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-16 12:21:18 +02:00
Frank Terbeck: users/14207: make variable local
This commit is contained in:
parent
a5417250d5
commit
6f78cb51ef
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-06-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* Frank Terbeck: users/14207:
|
||||
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: make
|
||||
variable local.
|
||||
|
||||
2009-06-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* Frank Terbeck: 27049, 27050, 27051, 27052:
|
||||
|
@ -11851,5 +11857,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.4716 $
|
||||
* $Revision: 1.4717 $
|
||||
*****************************************************
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
## Distributed under the same BSD-ish license as zsh itself.
|
||||
|
||||
setopt localoptions extendedglob NO_shwordsplit
|
||||
local gitdir gitbase gitbranch gitaction gitunstaged gitstaged gitsha1
|
||||
local gitdir gitbase gitbranch gitaction gitunstaged gitstaged gitsha1 gitmisc
|
||||
|
||||
VCS_INFO_git_getaction () {
|
||||
local gitaction='' gitdir=$1
|
||||
|
|
Loading…
Reference in a new issue