From 20684baa349dcb8686eed192f12abe0881ff060e Mon Sep 17 00:00:00 2001 From: Sam Bostock Date: Fri, 19 Dec 2025 18:16:08 +0000 Subject: [PATCH 1/2] worktree: clarify --expire applies to missing worktrees 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 Signed-off-by: Junio C Hamano --- 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