1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

33405: vcs_info: Make sure maxexports is set when VCS_INFO_set is called

Reported-by: From: Marco Hinz <mh.codebro@gmail.com>
This commit is contained in:
Frank Terbeck 2014-10-09 18:09:36 +02:00
parent 0f73b35f4e
commit a03227de23
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2014-10-09 Frank Terbeck <ft@bewatermyfriend.org>
* 33405: Functions/VCS_Info/vcs_info: Make sure maxexports
is set when VCS_INFO_set is called
2014-10-09 Marc Finet <m.dreadlock@gmail.com> 2014-10-09 Marc Finet <m.dreadlock@gmail.com>
* 33391: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: * 33391: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:

View file

@ -94,6 +94,7 @@ vcs_info () {
for pat in ${dps} ; do for pat in ${dps} ; do
if [[ ${PWD} == ${~pat} ]] ; then if [[ ${PWD} == ${~pat} ]] ; then
VCS_INFO_maxexports
[[ -n ${vcs_info_msg_0_} ]] && VCS_INFO_set --nvcs [[ -n ${vcs_info_msg_0_} ]] && VCS_INFO_set --nvcs
return 0 return 0
fi fi