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