mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 19:43:47 -05:00
Rename function for clarity.
This commit is contained in:
@@ -12,6 +12,6 @@ function! DumpSigns(filename)
|
|||||||
redir END
|
redir END
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! DumpGitDiff(filename)
|
function! DumpGitDiffStaged(filename)
|
||||||
call system('git diff --staged fixture.txt > '.a:filename.'.actual')
|
call system('git diff --staged fixture.txt > '.a:filename.'.actual')
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ call Setup()
|
|||||||
normal 5Gi*
|
normal 5Gi*
|
||||||
execute 'GitGutterRevertHunk'
|
execute 'GitGutterRevertHunk'
|
||||||
call DumpSigns('hunkRevertSigns')
|
call DumpSigns('hunkRevertSigns')
|
||||||
call DumpGitDiff('hunkRevertGitDiff')
|
call DumpGitDiffStaged('hunkRevertGitDiff')
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ call Setup()
|
|||||||
normal 5Gi*
|
normal 5Gi*
|
||||||
execute 'GitGutterStageHunk'
|
execute 'GitGutterStageHunk'
|
||||||
call DumpSigns('hunkStageSigns')
|
call DumpSigns('hunkStageSigns')
|
||||||
call DumpGitDiff('hunkStageGitDiff')
|
call DumpGitDiffStaged('hunkStageGitDiff')
|
||||||
|
|||||||
Reference in New Issue
Block a user