Fix early return when reaching end excerpt in `lift_buffer_metadata` (#26253)

Release Notes:

- Fixed a bug causing slowness when viewing multi buffers with lots of
excerpts
40c62cda5fMax Brunsfeld committed on 3/7/2025, 12:25:27 AM· committed by GitHubparent349a48d
1 file changedLine totals unavailable