You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/08/21 00:11:02 UTC
[3/3] allura git commit: [#7963] default scm.commit.git.detect_copies
to True in the code too
[#7963] default scm.commit.git.detect_copies to True in the code too
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/cebab912
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/cebab912
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/cebab912
Branch: refs/heads/master
Commit: cebab9121b22dfe63ad66cb04e710293f5073417
Parents: 33efd12
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Thu Aug 20 22:04:33 2015 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Thu Aug 20 22:04:50 2015 +0000
----------------------------------------------------------------------
ForgeGit/forgegit/model/git_repo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/cebab912/ForgeGit/forgegit/model/git_repo.py
----------------------------------------------------------------------
diff --git a/ForgeGit/forgegit/model/git_repo.py b/ForgeGit/forgegit/model/git_repo.py
index 84de881..4c6cfa9 100644
--- a/ForgeGit/forgegit/model/git_repo.py
+++ b/ForgeGit/forgegit/model/git_repo.py
@@ -655,7 +655,7 @@ class GitImplementation(M.RepositoryImplementation):
'-t',
'-z' # don't escape filenames and use \x00 as fields delimiter
]
- if asbool(tg.config.get('scm.commit.git.detect_copies', False)):
+ if asbool(tg.config.get('scm.commit.git.detect_copies', True)):
cmd_args += ['-M', '-C']
cmd_output = self._git.git.diff_tree(commit_id, *cmd_args).split('\x00')[:-1] # don't escape filenames and use \x00 as fields delimiter