Page MenuHomePhabricator

Don't show a blank line if there is no user data
ClosedPublic

Authored by alexmv on Sep 20 2017, 9:35 PM.
Tags
None
Referenced Files
F18052134: D18632.id44736.diff
Mon, Aug 4, 1:29 AM
F18032604: D18632.diff
Sun, Aug 3, 12:28 AM
F17949012: D18632.id.diff
Thu, Jul 31, 10:35 PM
F17931960: D18632.diff
Wed, Jul 30, 7:33 PM
Unknown Object (File)
Jul 2 2025, 5:31 AM
Unknown Object (File)
May 11 2025, 6:25 PM
Unknown Object (File)
May 7 2025, 10:53 PM
Unknown Object (File)
May 7 2025, 7:03 PM
Subscribers

Details

Summary

SKIP lines, for instance, often have no UserData; there is no
reason to display a content-less blank line.

Test Plan

arc unit

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Prefer a strlen() test over a plain test, so values like "0", "0.0", etc., are printed faithfully.

This revision now requires changes to proceed.Sep 20 2017, 9:43 PM

Swap to a strlen, instead of using truthiness

This revision is now accepted and ready to land.Sep 21 2017, 12:44 AM
This revision was automatically updated to reflect the committed changes.