mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-25 05:58:20 +01:00
c3c4f6ed4c
Summary: Git works completely differently for commits zero and one than for 2..N so add more special casing to handle them. See: - {T206} - {T596} The getCommitRange() block is also fatal land, although I wasn't able to reach it. I'll follow up with @s on T596. Test Plan: - Created a new, empty repository ("mkdir x; cd x; git init"). - Ran "arc lint", "arc unit", "arc diff" against it with no commits (the first two work, the third fails helpfully). - Made an initial commit. - Ran "arc lint", "arc unit", "arc diff" against it (all work correctly). Reviewers: btrahan, jungejason, aran Reviewed By: aran CC: s, aran Differential Revision: 1142 |
||
---|---|---|
.. | ||
__init__.php | ||
ArcanistDiffWorkflow.php |