Show More
@@ -1810,9 +1810,9 b' class gitsubrepo(abstractsubrepo):' | |||
|
1810 | 1810 | modified, added, removed = [], [], [] |
|
1811 | 1811 | self._gitupdatestat() |
|
1812 | 1812 | if rev2: |
|
1813 | command = ['diff-tree', '-r', rev1, rev2] | |
|
1813 | command = ['diff-tree', '--no-renames', '-r', rev1, rev2] | |
|
1814 | 1814 | else: |
|
1815 | command = ['diff-index', rev1] | |
|
1815 | command = ['diff-index', '--no-renames', rev1] | |
|
1816 | 1816 | out = self._gitcommand(command) |
|
1817 | 1817 | for line in out.split('\n'): |
|
1818 | 1818 | tab = line.find('\t') |
@@ -1871,7 +1871,7 b' class gitsubrepo(abstractsubrepo):' | |||
|
1871 | 1871 | @annotatesubrepoerror |
|
1872 | 1872 | def diff(self, ui, diffopts, node2, match, prefix, **opts): |
|
1873 | 1873 | node1 = self._state[1] |
|
1874 | cmd = ['diff'] | |
|
1874 | cmd = ['diff', '--no-renames'] | |
|
1875 | 1875 | if opts['stat']: |
|
1876 | 1876 | cmd.append('--stat') |
|
1877 | 1877 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now