From: Des Preston via GitGitGadget Date: Fri, 25 Mar 2022 18:05:04 GMT Subject: [PATCH] worktree: include repair cmd in usage Message-ID: From: Des Preston The worktree repair command was not added to the usage menu for the worktree command. This commit adds the usage of 'worktree repair' according to the existing docs. Signed-off-by: Des Preston --- worktree: include repair cmd in usage I'm working on an extension for the github CLI (github.com/cli/cli) to make it easier to create and manage worktrees using Github info (github.comm/despreston/gh-worktree). I noticed there was a worktree command that wasn't showing up in the usage menu git worktree -h. Signed-off-by: Des Preston despreston@gmail.com Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1188%2Fdespreston%2Fworktree-usage-repair-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1188/despreston/worktree-usage-repair-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/1188 builtin/worktree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/worktree.c b/builtin/worktree.c index 2838254f7f2..8682ff4c417 100644 --- a/builtin/worktree.c +++ b/builtin/worktree.c @@ -22,6 +22,7 @@ static const char * const worktree_usage[] = { N_("git worktree move "), N_("git worktree prune []"), N_("git worktree remove [] "), + N_("git worktree repair []"), N_("git worktree unlock "), NULL }; base-commit: 4c53a8c20f8984adb226293a3ffd7b88c3f4ac1a -- gitgitgadget