Skip to content

Commit

Permalink
Rename function for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed Mar 5, 2015
1 parent c6ed14c commit 65f03a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/helper.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/testHunkRevert.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ call Setup()
normal 5Gi*
execute 'GitGutterRevertHunk'
call DumpSigns('hunkRevertSigns')
call DumpGitDiff('hunkRevertGitDiff')
call DumpGitDiffStaged('hunkRevertGitDiff')
2 changes: 1 addition & 1 deletion test/testHunkStage.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ call Setup()
normal 5Gi*
execute 'GitGutterStageHunk'
call DumpSigns('hunkStageSigns')
call DumpGitDiff('hunkStageGitDiff')
call DumpGitDiffStaged('hunkStageGitDiff')

0 comments on commit 65f03a6

Please sign in to comment.