Permalink
Browse files

Added option "svn_use_internal_diff' (issue #20)

  • Loading branch information...
1 parent 102b978 commit f567a43d7d4e53cfe711c895c89e9f67538bdfae @gornostal committed Aug 26, 2012
Showing with 6 additions and 2 deletions.
  1. +3 −1 Modific.py
  2. +3 −1 Modific.sublime-settings
View
@@ -234,7 +234,9 @@ def git_diff_command(self, file_name):
return [self.get_user_command('git') or 'git', 'diff', '--no-color', '--', file_name]
def svn_diff_command(self, file_name):
- params = [self.get_user_command('svn') or 'svn', 'diff', '--internal-diff']
+ params = [self.get_user_command('svn') or 'svn', 'diff']
+ if settings.get('svn_use_internal_diff', True):
+ params.append('--internal-diff')
if file_name.find('@') != -1:
file_name += '@'
params.extend(['--revision', 'HEAD'])
View
@@ -21,5 +21,7 @@
"debug": false,
// set to false to disable automatic saving
- "autosave": true
+ "autosave": true,
+
+ "svn_use_internal_diff": true
}

0 comments on commit f567a43

Please sign in to comment.