SIGN IN SIGN UP

Refactor change sets to store index text in only one place (#24245)

This is a pure refactor that somewhat reduces the amount of code needed
when handling diff base changes. There's also a small performance gain
from reparsing the staged text and computing a new diff in parallel when
we weren't previously.

Release Notes:

- N/A

Co-authored-by: Max <max@zed.dev>
C
Cole Miller committed
7c1132ed882d936454f3c31074923e7c5b0a0ae9
Parent: f366b97
Committed by GitHub <noreply@github.com> on 2/5/2025, 1:11:01 AM