Files
lazygit/pkg/gui/controllers
Stefan HallerandClaude Opus 4.7 f032ee8b0f Extract BranchesHelper.PostFetchRefresh to unify the two fetch paths
The post-fetch logic was duplicated in `backgroundFetch` and the manual
fetch handler: refresh a fixed set of views, then auto-forward branches
if the fetch succeeded. The two had already drifted on the refresh
scope; folding them into a single helper makes the duplication go
away and prevents it from drifting again.

Pass the fetch error through so we preserve the previous behaviour of
refreshing unconditionally but only auto-forwarding on success.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 13:57:46 +02:00
..
2026-04-21 11:25:29 +02:00
2026-04-30 22:14:26 +02:00
2026-04-30 22:14:26 +02:00
2026-04-30 22:14:26 +02:00
…
2026-04-30 22:14:26 +02:00
2026-04-30 22:14:26 +02:00
2026-04-30 22:14:26 +02:00
2026-04-30 22:14:26 +02:00
2026-04-30 22:14:26 +02:00
2026-04-30 22:14:26 +02:00