mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-21 04:46:29 +03:00
For a build from a git checkout, lazygit reported the abbreviated commit hash as its version, e.g. in the bottom-right corner. This didn't say which release the build was based on, or whether it had uncommitted changes. Go records a module version for such builds too. It is a pseudo-version that contains the release that the commit is based on, or the tag of the commit, followed by "+dirty" if there were uncommitted changes. Show the release and the commit, e.g. "v0.66.3+d0d00783", the same way as for builds made with `go install` from a branch, and append "-dirty" if there were uncommitted changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>