Rename function for clarity.

This commit is contained in:
Andy Stewart
2015-03-05 11:36:43 +01:00
parent c6ed14c662
commit 65f03a6fd5
3 changed files with 3 additions and 3 deletions

View File

@@ -12,6 +12,6 @@ function! DumpSigns(filename)
redir END
endfunction
function! DumpGitDiff(filename)
function! DumpGitDiffStaged(filename)
call system('git diff --staged fixture.txt > '.a:filename.'.actual')
endfunction

View File

@@ -4,4 +4,4 @@ call Setup()
normal 5Gi*
execute 'GitGutterRevertHunk'
call DumpSigns('hunkRevertSigns')
call DumpGitDiff('hunkRevertGitDiff')
call DumpGitDiffStaged('hunkRevertGitDiff')

View File

@@ -4,4 +4,4 @@ call Setup()
normal 5Gi*
execute 'GitGutterStageHunk'
call DumpSigns('hunkStageSigns')
call DumpGitDiff('hunkStageGitDiff')
call DumpGitDiffStaged('hunkStageGitDiff')