Page MenuHomePhabricator

Get line count before truncating Paste snippets
ClosedPublic

Authored by faulconbridge on Mar 1 2017, 9:27 PM.
Tags
None
Referenced Files
F18864242: D17438.id.diff
Nov 3 2025, 4:26 AM
F18807844: D17438.diff
Oct 19 2025, 3:30 AM
F18707914: D17438.diff
Sep 28 2025, 8:32 PM
F18674153: D17438.id.diff
Sep 25 2025, 1:26 PM
F18673067: D17438.id41935.diff
Sep 25 2025, 9:14 AM
F18601653: D17438.diff
Sep 13 2025, 1:05 PM
F18590817: D17438.id.diff
Sep 12 2025, 7:15 AM
F18094409: D17438.id.diff
Aug 7 2025, 10:07 PM
Subscribers

Details

Summary

Fixes T12338. Resolves an issue where long pastes would be truncated before getting a line count, resulting in an inaccurate line count being returned.

Test Plan

Made a large paste, verified that it displayed the correct number of lines.

Diff Detail

Repository
rP Phabricator
Branch
T12338
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15838
Build 20953: Run Core Tests
Build 20952: arc lint + arc unit