mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-05-16 09:48:37 +02:00
22f0d9cdd3
SelectedCommit is context-dependent and points to SelectedLocalCommit, SelectedReflogCommit, or SelectedSubCommit depending on which panel is active. If none of these panels is active, it returns the selected local commit, which is probably the most useful default (e.g. when defining custom commands for the Files panel).