Refused checkouts now name the exact layout problem instead of failing vaguely.
What's wrong with this entry?
Checkouts that upload or sync can now say precisely why they were refused: a broken .git file pointer, an administrative directory in an unexpected place, a back-link that does not point at the working tree, a mismatched common directory, a bad placement, or per-worktree configuration.
- The back-link case suggests running
git worktree repair. - Per-worktree configuration (
extensions.worktreeConfigor aconfig.worktreefile) is named as not supported by upload yet. - Replaces generic failures with a named reason per layout.
that uses per-worktree configuration (extensions.worktreeConfig, or a config.worktree file), which this upload does not support yet.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.