swapped half and full dirty in svn-detect-changes

This commit is contained in:
Christian Rebischke
2016-08-30 20:41:51 -04:00
committed by Ben Hilburn
parent 31589a5097
commit e134c70bc1
+2 -2
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