swapped half and full dirty in svn-detect-changes

This commit is contained in:
Christian Rebischke 2016-08-25 23:31:00 +02:00 committed by Ben Hilburn
parent 31589a5097
commit e134c70bc1

View file

@ -127,9 +127,9 @@ function +vi-vcs-detect-changes() {
function +vi-svn-detect-changes() {
local svn_status=$(svn status)
if [[ -n "$(echo "$svn_status" | grep \^\?)" ]]; then
VCS_WORKDIR_DIRTY=true
elif [[ -n "$(echo "$svn_status" | grep \^\A)" ]]; then
VCS_WORKDIR_HALF_DIRTY=true
elif [[ -n "$(echo "$svn_status" | grep \^\A)" ]]; then
VCS_WORKDIR_DIRTY=true
else
VCS_WORKDIR_DIRTY=false
VCS_WORKDIR_HALF_DIRTY=false