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:
parent
f794b50b0e
commit
f1a2d58343
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue