Page MenuHomePhabricator

Fix an initialization issue in VectorTree
ClosedPublic

Authored by epriestley on May 4 2020, 10:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 13, 2:39 AM
Unknown Object (File)
Sun, Feb 9, 9:13 AM
Unknown Object (File)
Sun, Feb 9, 9:13 AM
Unknown Object (File)
Sun, Feb 9, 9:13 AM
Unknown Object (File)
Sat, Feb 8, 1:01 AM
Unknown Object (File)
Sat, Feb 1, 8:50 PM
Unknown Object (File)
Sat, Feb 1, 8:17 PM
Unknown Object (File)
Mon, Jan 27, 12:49 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rARC Arcanist
Branch
vtree1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24356
Build 33553: Run Core Tests
Build 33552: arc lint + arc unit