mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-05 21:46:49 -04:00
The function always asked about every ref under refs/heads. Sorting refs by ancestry needs the ahead-behind values of a handful of named refs, and for remote branches those live under refs/remotes, so take the patterns as an argument. The bases can be commit hashes as well as ref names. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>