Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Disallow use of external diff #14

wants to merge 1 commit into from

2 participants


If people have set their git config such that they use an external diff then it can cause Extradite not to function.

This makes sure Extradite always uses git's own diff.


@int3 int3 closed this in 68d7b0b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 13, 2011
  1. Disallow use of external diff

    Travis Jeffery authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugin/extradite.vim
2  plugin/extradite.vim
@@ -237,7 +237,7 @@ function! s:SimpleDiff(a,b) abort
setlocal modifiable
silent! %delete _
- let diff = system('git diff '.a:a.' '.a:b)
+ let diff = system('git diff --no-ext-diff '.a:a.' '.a:b)
silent put = diff
setlocal ft=diff buftype=nofile nomodifiable
Something went wrong with that request. Please try again.