From f1a2d5834387d0082519d328fd8fd12a98de793a Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 13 Dec 2011 11:38:42 -0800 Subject: [PATCH] Use -M instead of -C in `git blame` Test Plan: arc cover Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Maniphest Tasks: T668 Differential Revision: 1199 --- src/repository/api/git/ArcanistGitAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repository/api/git/ArcanistGitAPI.php b/src/repository/api/git/ArcanistGitAPI.php index ee58e80f..fd20e2e8 100644 --- a/src/repository/api/git/ArcanistGitAPI.php +++ b/src/repository/api/git/ArcanistGitAPI.php @@ -377,7 +377,7 @@ class ArcanistGitAPI extends ArcanistRepositoryAPI { public function getBlame($path) { // TODO: 'git blame' supports --porcelain and we should probably use it. list($stdout) = execx( - '(cd %s; git blame --date=iso -w -C %s -- %s)', + '(cd %s; git blame --date=iso -w -M %s -- %s)', $this->getPath(), $this->getRelativeCommit(), $path);