Show More
@@ -37,6 +37,7 class diffopts(object): | |||||
37 | 'showfunc': False, |
|
37 | 'showfunc': False, | |
38 | 'git': False, |
|
38 | 'git': False, | |
39 | 'nodates': False, |
|
39 | 'nodates': False, | |
|
40 | 'nobinary': False, | |||
40 | 'ignorews': False, |
|
41 | 'ignorews': False, | |
41 | 'ignorewsamount': False, |
|
42 | 'ignorewsamount': False, | |
42 | 'ignoreblanklines': False, |
|
43 | 'ignoreblanklines': False, |
@@ -1561,6 +1561,7 def diffopts(ui, opts=None, untrusted=Fa | |||||
1561 | text=opts and opts.get('text'), |
|
1561 | text=opts and opts.get('text'), | |
1562 | git=get('git'), |
|
1562 | git=get('git'), | |
1563 | nodates=get('nodates'), |
|
1563 | nodates=get('nodates'), | |
|
1564 | nobinary=get('nobinary'), | |||
1564 | showfunc=get('show_function', 'showfunc'), |
|
1565 | showfunc=get('show_function', 'showfunc'), | |
1565 | ignorews=get('ignore_all_space', 'ignorews'), |
|
1566 | ignorews=get('ignore_all_space', 'ignorews'), | |
1566 | ignorewsamount=get('ignore_space_change', 'ignorewsamount'), |
|
1567 | ignorewsamount=get('ignore_space_change', 'ignorewsamount'), | |
@@ -1815,7 +1816,7 def trydiff(repo, revs, ctx1, ctx2, modi | |||||
1815 | if dodiff: |
|
1816 | if dodiff: | |
1816 | if opts.git or revs: |
|
1817 | if opts.git or revs: | |
1817 | header.insert(0, diffline(join(a), join(b), revs)) |
|
1818 | header.insert(0, diffline(join(a), join(b), revs)) | |
1818 | if dodiff == 'binary': |
|
1819 | if dodiff == 'binary' and not opts.nobinary: | |
1819 | text = mdiff.b85diff(to, tn) |
|
1820 | text = mdiff.b85diff(to, tn) | |
1820 | if text: |
|
1821 | if text: | |
1821 | addindexmeta(header, [gitindex(to), gitindex(tn)]) |
|
1822 | addindexmeta(header, [gitindex(to), gitindex(tn)]) |
General Comments 0
You need to be logged in to leave comments.
Login now