1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-09 00:12:40 +01:00
phorge-arcanist/src/difference
epriestley 6937d38947 Fix an initialization issue in VectorTree
Summary: Ref T13520. In unusual cases where there are no changes in a changeset list (e.g., empty commits) we can fatal when trying to iterate over an empty list of vectors.

Test Plan:
  - Created an empty commit.
  - Used "git show | pbcopy" to create a diff from it.
  - Viewed it in the web UI.
  - Before: fatal when iterating on `null`.
  - After: clean page.

Maniphest Tasks: T13520

Differential Revision: https://secure.phabricator.com/D21221
2020-05-04 15:50:26 -07:00
..
__tests__ Use EditDistanceMatrix diff smoothing in Arcanist 2016-06-07 09:13:34 -07:00
ArcanistDiffUtils.php Move HTML-only intraline diff code to Phabricator 2020-02-12 13:13:23 -08:00
ArcanistDiffVectorNode.php Replace "PhutilFileTree" with a more abstract "VectorTree" 2020-04-28 12:09:56 -07:00
ArcanistDiffVectorTree.php Fix an initialization issue in VectorTree 2020-05-04 15:50:26 -07:00