Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/mdiff.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 | d838bfac668d |
line wrap: on
line diff
--- a/mercurial/mdiff.py +++ b/mercurial/mdiff.py @@ -23,6 +23,7 @@ class diffopts(object): '''context is the number of context lines text treats all files as text showfunc enables diff -p output + git enables the git extended patch format ignorews ignores all whitespace changes in the diff ignorewsamount ignores changes in the amount of whitespace ignoreblanklines ignores changes whose lines are all blank''' @@ -31,6 +32,7 @@ class diffopts(object): 'context': 3, 'text': False, 'showfunc': True, + 'git': False, 'ignorews': False, 'ignorewsamount': False, 'ignoreblanklines': False,