From: Jakub Vrana Date: Tue, 13 Dec 2011 19:38:42 +0000 (-0800) Subject: Use -M instead of -C in `git blame` X-Git-Tag: conduit-4~216 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f1a2d5834387d0082519d328fd8fd12a98de793a;p=arcanist.git 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 --- 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);