]> khamidou — GitHub mirrors - arcanist.git/commit
Use 'git blame --porcelain' for git blame info
authorJavier Arteaga <code@jbeta.is>
Tue, 25 Aug 2015 16:36:15 +0000 (09:36 -0700)
committerepriestley <git@epriestley.com>
Tue, 25 Aug 2015 16:36:16 +0000 (09:36 -0700)
commit4c3d75401f81636fd19daa9e799fbf54c9586f29
tree6b6d143805f27e7495f0e784d4b608dafeaa7e77
parent43f8e7eb7119f62ccf2dcf7de45ca069b8168422
Use 'git blame --porcelain' for git blame info

Summary:
This guards against stability issues with the output format of 'git
blame' (such as git config, localization (ref T5554) or future changes).

For example, `git config blame.blankboundary true` breaks `arc cover`
before this patch.

Test Plan:
* Set `git config blame.blankboundary true` on a test repo.
* Ran `arc cover`. It failed with an exception ("Bad blame?").
* Applied this patch.
* `arc cover` works.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Maniphest Tasks: T5554

Differential Revision: https://secure.phabricator.com/D13993
src/repository/api/ArcanistGitAPI.php