From: Sam Bostock via GitGitGadget Date: Fri, 19 Dec 2025 18:16:08 GMT Subject: [PATCH v2 1/2] worktree: clarify --expire applies to missing worktrees Message-ID: In-Reply-To: From: Sam Bostock The `--expire` option for `git worktree list` and `git worktree prune` only affects worktrees whose working directory path no longer exists. The help text did not make this clear, and the documentation inconsistently used "unused" for prune but "missing" for list. This updates the help text and documentation to consistently describe these as "missing worktrees". Signed-off-by: Sam Bostock --- Documentation/git-worktree.adoc | 2 +- builtin/worktree.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/git-worktree.adoc b/Documentation/git-worktree.adoc index f272f79783..402d363064 100644 --- a/Documentation/git-worktree.adoc +++ b/Documentation/git-worktree.adoc @@ -271,7 +271,7 @@ mismatch, even if the links are correct. With `list`, output additional information about worktrees (see below). `--expire