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