Explorar el Código

Merge pull request #24 from killarny/patch-1

Temporarily unset GIT_EXTERNAL_DIFF when invoking git diff.
Matthew Wang hace 11 años
padre
commit
ec3b4fe9ec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      cdiff.py

+ 1
- 1
cdiff.py Ver fichero

@@ -54,7 +54,7 @@ COLORS = {
54 54
 VCS_INFO = {
55 55
     'Git': {
56 56
         'probe' : ['git', 'rev-parse'],
57
-        'diff'  : ['git', 'diff'],
57
+        'diff'  : ['env', '-u', 'GIT_EXTERNAL_DIFF', 'git', 'diff'],
58 58
         'log'   : ['git', 'log', '--patch'],
59 59
     },
60 60
     'Mercurial': {