Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] vcs_info: Make sure maxexports is set with VCS_INFO_set is called



Reported-by: From: Marco Hinz <mh.codebro@xxxxxxxxx>
---

Marco and I debugged this on IRC. The other calls to VCS_INFO_set --nvcs
should be fine.

 Functions/VCS_Info/vcs_info | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Functions/VCS_Info/vcs_info b/Functions/VCS_Info/vcs_info
index 5a421df..4693869 100644
--- a/Functions/VCS_Info/vcs_info
+++ b/Functions/VCS_Info/vcs_info
@@ -94,6 +94,7 @@ vcs_info () {
 
     for pat in ${dps} ; do
         if [[ ${PWD} == ${~pat} ]] ; then
+            VCS_INFO_maxexports
             [[ -n ${vcs_info_msg_0_} ]] && VCS_INFO_set --nvcs
             return 0
         fi
-- 
2.1.0.60.g85f0837



Messages sorted by: Reverse Date, Date, Thread, Author