diff options
author | Fabian Günter <n4zroth@gmail.com> | 2022-01-08 19:59:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-08 19:59:59 +0100 |
commit | 71e6d5fde87be76205e87eed2e1a306a2f3bc5a8 (patch) | |
tree | e9f82e18f00c4a21aa054a14fc2b7b35c3578cbf /plugins/svn/svn.plugin.zsh | |
parent | 4e2f4cdf686fe560cec3ec7072628c4d0f723929 (diff) | |
download | zsh-71e6d5fde87be76205e87eed2e1a306a2f3bc5a8.tar.gz zsh-71e6d5fde87be76205e87eed2e1a306a2f3bc5a8.tar.bz2 zsh-71e6d5fde87be76205e87eed2e1a306a2f3bc5a8.zip |
fix(svn): fix output order in `svn_dirty_choose` (#10572)
Diffstat (limited to 'plugins/svn/svn.plugin.zsh')
-rw-r--r-- | plugins/svn/svn.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/svn/svn.plugin.zsh b/plugins/svn/svn.plugin.zsh index 9c3b50d16..e55e5b2dd 100644 --- a/plugins/svn/svn.plugin.zsh +++ b/plugins/svn/svn.plugin.zsh @@ -67,10 +67,10 @@ svn_dirty_choose() { root=$(sed -n 's/^Working Copy Root Path: //p' <<< "${1:-$(LANG= svn info 2>/dev/null)}") if LANG= svn status "$root" 2>/dev/null | command grep -Eq '^\s*[ACDIM!?L]'; then # Grep exits with 0 when "One or more lines were selected", return "dirty". - echo $1 + echo $2 else # Otherwise, no lines were found, or an error occurred. Return clean. - echo $2 + echo $3 fi } |