Page MenuHomePhabricator

Fix an initialization issue in VectorTree
ClosedPublic

Authored by epriestley on May 4 2020, 10:48 PM.
Tags
None
Referenced Files
F13207403: D21221.id50540.diff
Wed, May 15, 11:12 PM
F13206584: D21221.diff
Wed, May 15, 12:14 PM
F13205810: D21221.diff
Wed, May 15, 2:24 AM
F13189970: D21221.diff
Sat, May 11, 6:39 AM
Unknown Object (File)
Wed, May 1, 11:16 AM
Unknown Object (File)
Wed, May 1, 12:58 AM
Unknown Object (File)
Sat, Apr 27, 5:18 PM
Unknown Object (File)
Sat, Apr 20, 5:15 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable