You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/08/13 20:07:02 UTC
[35/50] allura git commit: [#7925] Git tree command flags now support
older versions of git
[#7925] Git tree command flags now support older versions of git
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/4090d3be
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/4090d3be
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/4090d3be
Branch: refs/heads/ib/7922
Commit: 4090d3be84f56fff9a4739e8d0e97eaaece7b4cb
Parents: d8e7ade
Author: Heith Seewald <hs...@slashdotmedia.com>
Authored: Mon Aug 10 13:31:52 2015 -0400
Committer: Heith Seewald <hs...@slashdotmedia.com>
Committed: Mon Aug 10 13:31:52 2015 -0400
----------------------------------------------------------------------
ForgeGit/forgegit/model/git_repo.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/4090d3be/ForgeGit/forgegit/model/git_repo.py
----------------------------------------------------------------------
diff --git a/ForgeGit/forgegit/model/git_repo.py b/ForgeGit/forgegit/model/git_repo.py
index 318f81f..480631b 100644
--- a/ForgeGit/forgegit/model/git_repo.py
+++ b/ForgeGit/forgegit/model/git_repo.py
@@ -646,8 +646,8 @@ class GitImplementation(M.RepositoryImplementation):
cmd_output = self._git.git.diff_tree(
'--no-commit-id',
- '--find-renames',
- '--find-copies',
+ '-M', # detect renames
+ '-C', # detect copies
'--name-status',
'--no-abbrev',
'--root',