Page MenuHomePhabricator

Use 'git blame --porcelain' for git blame info
ClosedPublic

Authored by jbeta on Aug 25 2015, 4:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 8:11 PM
Unknown Object (File)
Fri, Dec 6, 12:18 PM
Unknown Object (File)
Sun, Dec 1, 6:51 AM
Unknown Object (File)
Sun, Nov 24, 8:18 AM
Unknown Object (File)
Nov 21 2024, 10:50 AM
Unknown Object (File)
Nov 17 2024, 9:22 AM
Unknown Object (File)
Nov 14 2024, 1:59 PM
Unknown Object (File)
Nov 8 2024, 8:39 PM
Subscribers

Details

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.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jbeta retitled this revision from to Use 'git blame --porcelain' for git blame info.
jbeta updated this object.
jbeta edited the test plan for this revision. (Show Details)
jbeta added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Aug 25 2015, 4:35 PM
This revision was automatically updated to reflect the committed changes.