From 63425124835ec6c5cccdb17b50ac2a4cb8a0e90f Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 26 Jan 2022 14:18:43 +0000 Subject: 49711: _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 '?'). --- ChangeLog | 5 +++++ Completion/Unix/Command/_subversion | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 11166e6bb..3636b8e65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2022-01-29 Daniel Shahaf + + * 49711: Completion/Unix/Command/_subversion: _svn_status: + Don't offer unversioned files + 2022-01-27 Daniel Shahaf * 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 -- cgit 1.4.1