1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00

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
This commit is contained in:
Jakub Vrana 2011-12-13 11:38:42 -08:00 committed by vrana
parent f794b50b0e
commit f1a2d58343

View file

@ -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);