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 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

View File

@@ -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')

View File

@@ -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')