Skip to content

Commit

Permalink
Disallow use of external diff. Thanks @travisjeffery!
Browse files Browse the repository at this point in the history
Closes #14.
  • Loading branch information
int3 committed Feb 11, 2012
1 parent 14ac68e commit 68d7b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/extradite.vim
Expand Up @@ -243,7 +243,7 @@ function! s:SimpleDiff(git_cmd,a,b) abort


setlocal modifiable setlocal modifiable
silent! %delete _ silent! %delete _
let diff = system(a:git_cmd.' diff '.a:a.' '.a:b) let diff = system(a:git_cmd.' diff --no-ext-diff '.a:a.' '.a:b)
silent put = diff silent put = diff
setlocal ft=diff buftype=nofile nomodifiable setlocal ft=diff buftype=nofile nomodifiable


Expand Down

0 comments on commit 68d7b0b

Please sign in to comment.