mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
29526: vcs_info: Set max-exports' early after certain
start-up' hooks.
This commit is contained in:
parent
38868daa44
commit
f028b97e8f
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-06-30 Frank Terbeck <ft@bewatermyfriend.org>
|
||||
|
||||
* 29526: Functions/VCS_Info/vcs_info: Set `max-exports' early
|
||||
after certain `start-up' hooks.
|
||||
|
||||
2011-06-28 Frank Terbeck <ft@bewatermyfriend.org>
|
||||
|
||||
* Sebastian Ramacher: 29513: Completion/Debian/Command/_apt: Add
|
||||
|
@ -15052,5 +15057,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5382 $
|
||||
* $Revision: 1.5383 $
|
||||
*****************************************************
|
||||
|
|
|
@ -70,6 +70,9 @@ vcs_info () {
|
|||
if (( retval == 1 )); then
|
||||
return 0
|
||||
elif (( retval == 2 )); then
|
||||
# This needs `max-exports' set. We're still setting it again later
|
||||
# for more specific contexts.
|
||||
VCS_INFO_maxexports
|
||||
VCS_INFO_set --nvcs
|
||||
return 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue