HomePhabricator

(stable) Fix an initialization issue in VectorTree

Description

(stable) 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

Details

Provenance
epriestleyAuthored on May 4 2020, 10:42 PM
epriestleyPushed on May 4 2020, 10:50 PM
Differential Revision
D21221: Fix an initialization issue in VectorTree
Parents
rARC31c6b56b67b0: (stable) Promote 2020 Week 17
Branches
Unknown
Tags
Unknown
Tasks
T13520: Update the diff table of contents for moved files, long paths, etc
Build Status
Buildable 24359
Build 33557: Run Core Tests