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

[PATCH 1/5] _subversion: _svn_status: Don't offer unversioned files



This function is used only by revert, diff, and commit, none of which
can run on unversioned files (those with status '?').
---
 Completion/Unix/Command/_subversion | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Completion/Unix/Command/_subversion b/Completion/Unix/Command/_subversion
index 26eef500f..2f66c3522 100644
--- a/Completion/Unix/Command/_subversion
+++ b/Completion/Unix/Command/_subversion
@@ -390,7 +390,7 @@ _svn_status() {
   local mtime="$(zstat +mtime $dir/.svn/entries)"
 
   if (( ! $+_cache_svn_status[$key] || _cache_svn_mtime[$key] != mtime )); then
-    _cache_svn_status[$key]="$(_call_program files svn status -N $dir)"
+    _cache_svn_status[$key]="$(_call_program files svn status -q -N -- $dir)"
     _cache_svn_mtime[$key]="$mtime"
   fi
 




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