diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2022-01-26 14:18:43 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2022-01-29 10:08:39 +0000 |
commit | 63425124835ec6c5cccdb17b50ac2a4cb8a0e90f (patch) | |
tree | 49d26c5ecdffb9db8274af1e5a826b91b6971584 /Completion | |
parent | 441f594c9f8d3b8afd3b170db54eba0ee9ab0a8b (diff) | |
download | zsh-63425124835ec6c5cccdb17b50ac2a4cb8a0e90f.tar.gz zsh-63425124835ec6c5cccdb17b50ac2a4cb8a0e90f.tar.xz zsh-63425124835ec6c5cccdb17b50ac2a4cb8a0e90f.zip |
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 '?').
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_subversion | 2 |
1 files changed, 1 insertions, 1 deletions
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 |