aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorChristian Rebischke <Chris.Rebischke@posteo.de>2016-08-26 00:31:00 +0300
committerBen Hilburn <bhilburn@gmail.com>2016-08-31 03:41:51 +0300
commite134c70bc16c3b58d02bcb58b11fc402d005562e (patch)
tree50664990bd3e7e686daaca5d3f152244d843baae /functions
parent31589a5097107da29a48b4aaf151f52df23fdfee (diff)
swapped half and full dirty in svn-detect-changes
Diffstat (limited to 'functions')
-rw-r--r--functions/vcs.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/vcs.zsh b/functions/vcs.zsh
index 66c6a0d2..6cea3e8c 100644
--- a/functions/vcs.zsh
+++ b/functions/vcs.zsh
@@ -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