Skip to content

improve git describe - #5985

Merged
ab9rf merged 1 commit into
DFHack:developfrom
ab9rf:git-describe-update
Oct 1, 2026
Merged

ab9rf merged 1 commit into
DFHack:developfrom
ab9rf:git-describe-update

Conversation

@ab9rf

@ab9rf ab9rf commented Oct 1, 2026

Copy link
Copy Markdown
Member

this makes the "git describe" process more robust, by handling three cases better:

  • no git repository: use a fallback description instead of failing
  • git tags missing: skip tag matching process, just use commit hash
  • build is in a worktree: follow worktree metadata to get the repository root

this makes the "git describe" process more robust, by handling three cases better:
* no git repository: use a fallback description instead of failing
* git tags missing: skip tag matching process, just use commit hash
* build is in a worktree: follow worktree metadata to get the repository root
@ab9rf
ab9rf merged commit bee8d8f into DFHack:develop Oct 1, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant