Skip to content

Commit

Permalink
Tweaking issue 105 to work for me
Browse files Browse the repository at this point in the history
  • Loading branch information
Sambojambo committed Sep 9, 2013
1 parent 878c342 commit f9cac87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/gitgutter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ endfunction

function! s:run_diff(realtime)
if a:realtime
let blob_name = ':./' . fnamemodify(s:file(),':t')
let blob_name = ':' . fnamemodify(s:file(),':t')
let cmd = 'diff -U0 ' . g:gitgutter_diff_args . ' <(git show '. blob_name .') - '
else
let cmd = 'git diff --no-ext-diff --no-color -U0 ' . g:gitgutter_diff_args . ' ' . shellescape(s:file())
Expand Down

0 comments on commit f9cac87

Please sign in to comment.