Under the hood
Git diff baseline for cloud/session diffing is now computed lazily on first use instead of upfront
What
The object that computes diffs against a baseline (used for cloud sessions and session diffing) used to compute that baseline immediately when created. It now computes the baseline only once, the first time a diff is actually requested, and a related lookup path can explicitly skip computing it altogether.
Why
This avoids doing potentially unnecessary work up front when a diff baseline is never actually needed, which should make constructing these diff sources cheaper in cases where no diff is fetched.