Skip to content

Commit

Permalink
Idiomatic execute.
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed Mar 4, 2015
1 parent d613f0f commit 4a239a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/gitgutter/diff.vim
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function! gitgutter#diff#run_diff(realtime, use_external_grep, lines_of_context)
let buff_file .= '.'.extension
endif
let cmd .= 'git show '.blob_name.' > '.blob_file.' && '
execute('silent write '.buff_file)
execute 'silent write' buff_file
endif

let cmd .= 'git diff --no-ext-diff --no-color -U'.a:lines_of_context.' '.g:gitgutter_diff_args.' -- '
Expand Down

0 comments on commit 4a239a7

Please sign in to comment.