diff mercurial/ui.py @ 2892:8b02af865990

Add diff --git option
author Brendan Cully <brendan@kublai.com>
date Mon, 14 Aug 2006 22:48:03 -0700
parents 4ec58b157265
children ef8ee4477019
line wrap: on
line diff
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -174,6 +174,8 @@ class ui(object):
             text=opts.get('text'),
             showfunc=(opts.get('show_function') or
                       self.configbool('diff', 'showfunc', None)),
+            git=(opts.get('git') or
+                 self.configbool('diff', 'git', None)),
             ignorews=(opts.get('ignore_all_space') or
                       self.configbool('diff', 'ignorews', None)),
             ignorewsamount=(opts.get('ignore_space_change') or