summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_subversion2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 11166e6bb..3636b8e65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-01-29  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 49711: Completion/Unix/Command/_subversion: _svn_status:
+	Don't offer unversioned files
+
 2022-01-27  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* unposted: Doc/Zsh/contrib.yo: vcs_info quilt docs: Fix
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