summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <klto@zhaw.ch>2010-02-02 14:23:58 +0100
committerTobias Klauser <klto@zhaw.ch>2010-02-02 14:23:58 +0100
commit9e0b978a1769d60405ae1b3ce34fc88ecab81c6a (patch)
tree781913fa1a48064497a8465cf3791d861194308f
parent50552e380cc36eb7c6223d9c5ac33b7b27b73521 (diff)
The file list might contain + after A
example: A doc/trunk/release_lists/3.0 A + doc/trunk/release_lists/3.0/tag_release_procedure_3.0.doc A + doc/trunk/release_lists/3.0/release_v3.0_automated_tests.log
-rw-r--r--.vim/ftplugin/svn.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vim/ftplugin/svn.vim b/.vim/ftplugin/svn.vim
index e3eec77..d453ea0 100644
--- a/.vim/ftplugin/svn.vim
+++ b/.vim/ftplugin/svn.vim
@@ -31,7 +31,7 @@ function! Svn_diff_windows()
let list_of_files = list_of_files . ' '.file
endif
if line =~ '^A'
- let file = substitute(line, '\v^A\s*(.*)\s*$', '\1', '')
+ let file = substitute(line, '\v^A\s*[+]*\s*(.*)\s*$', '\1', '')
let list_of_files = list_of_files . ' '.file
endif