Permalink
Browse files

fix svn commit message.

  • Loading branch information...
1 parent 5ac121f commit 9e46086e38ae4f6c11cb583b19a161a84c9a8b7e @hrsh7th committed Oct 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 autoload/vcs/svn/commit.vim
@@ -18,6 +18,7 @@ function! vcs#svn#commit#do(args)
augroup VimUniteVcsSvnCommit
autocmd!
autocmd! BufWinEnter <buffer> setlocal bufhidden=wipe nobuflisted noswapfile
+ autocmd! BufWritePre <buffer> execute '%s/' . g:vcs#svn#commit_ignore . '\_.*//g'
autocmd! BufWinLeave <buffer> call s:commit()
augroup END
endfunction
@@ -53,6 +54,9 @@ function! s:commit()
let s:files = []
endfunction
+function! s:trim_msgfile()
+endfunction
+
function! s:make_msgfile()
let root = vcs#vcs('root', s:files)
let save = getcwd()

0 comments on commit 9e46086

Please sign in to comment.