mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-10 20:43:47 -05:00
@@ -20,3 +20,8 @@ function! DumpGitDiffStaged(filename)
|
||||
call system('git diff --staged fixture.txt > '.a:filename.'.actual')
|
||||
endfunction
|
||||
|
||||
function! Dump(text, filename)
|
||||
let msg = type(a:text) == 1 ? split(a:text, '\n') : a:text
|
||||
call writefile(msg, a:filename.'.actual', 'a')
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user