ca129bb55085cf93510346dcd70b1190b87d5bc0

Author
Brice Dutheil <brice.dutheil@gmail.com>
Committer
Brice Dutheil <brice.dutheil@gmail.com>
Date

Message

Renames main plugin function to `svn_prompt_info`

Diff

 1diff --git a/plugins/svn-fast-info/svn-fast-info.plugin.zsh b/plugins/svn-fast-info/svn-fast-info.plugin.zsh
 2index a12007ec60eb434ecb9ba391adba3fede38c4843..ea19bcea07f2d71e04a2ad49e5e4811ab4953ea3 100644
 3--- a/plugins/svn-fast-info/svn-fast-info.plugin.zsh
 4+++ b/plugins/svn-fast-info/svn-fast-info.plugin.zsh
 5@@ -6,8 +6,10 @@
 6 # Use `svn_prompt_info` method to enquire the svn data.
 7 # It's faster because his efficient use of svn (single svn call) which saves a lot on a huge codebase
 8 # It displays the current status of the local files (added, deleted, modified, replaced, or else...)
 9+#
10+# Use as a drop-in replacement of the svn plugin not as complementary plugin
11 
12-function svn_fast_info() {
13+function svn_prompt_info() {
14   local info
15   info=$(svn info 2>&1) || return 1; # capture stdout and stderr
16   local repo_need_upgrade=$(svn_repo_need_upgrade $info)