Under the hood
Useful1 Signal0
The check for whether your repo has any commits now just asks git directly.
What's wrong with this entry?
Anonymous. No account, no email.
What
The worktree code checks whether HEAD points at a commit by letting git succeed or fail quietly, rather than capturing the commit id and testing it against a hex pattern.
Evidence
"--verify",
Strings lifted out of the shipped bundle, so the claim above can be checked against them.