From ca129bb55085cf93510346dcd70b1190b87d5bc0 Mon Sep 17 00:00:00 2001 From: Brice Dutheil Date: Fri, 10 Jan 2014 14:03:10 +0100 Subject: [PATCH] Renames main plugin function to `svn_prompt_info` --- plugins/svn-fast-info/svn-fast-info.plugin.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/svn-fast-info/svn-fast-info.plugin.zsh b/plugins/svn-fast-info/svn-fast-info.plugin.zsh index a12007ec..ea19bcea 100644 --- a/plugins/svn-fast-info/svn-fast-info.plugin.zsh +++ b/plugins/svn-fast-info/svn-fast-info.plugin.zsh @@ -6,8 +6,10 @@ # Use `svn_prompt_info` method to enquire the svn data. # It's faster because his efficient use of svn (single svn call) which saves a lot on a huge codebase # It displays the current status of the local files (added, deleted, modified, replaced, or else...) +# +# Use as a drop-in replacement of the svn plugin not as complementary plugin -function svn_fast_info() { +function svn_prompt_info() { local info info=$(svn info 2>&1) || return 1; # capture stdout and stderr local repo_need_upgrade=$(svn_repo_need_upgrade $info)