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
Unknown Object (File)
Apr 15 2026, 1:54 PM
Unknown Object (File)
Apr 12 2026, 6:18 PM
Unknown Object (File)
Mar 15 2026, 5:45 AM
Unknown Object (File)
Mar 14 2026, 6:57 PM
Unknown Object (File)
Jan 31 2026, 6:28 PM
Unknown Object (File)
Jan 31 2026, 6:11 AM
Unknown Object (File)
Jan 31 2026, 12:50 AM
Unknown Object (File)
Dec 4 2025, 11:10 AM
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.