]> git.ipfire.org Git - thirdparty/git.git/commitdiff
worktree: include repair cmd in usage
authorDes Preston <despreston@gmail.com>
Mon, 28 Mar 2022 20:47:05 +0000 (20:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Mar 2022 19:02:21 +0000 (12:02 -0700)
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 <despreston@gmail.com>
Acked-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/worktree.c

index 2838254f7f2e10f780ea8608d591c6fd8e8f5521..498975c1fd9699e4209f6041d4d1879a9a091f25 100644 (file)
@@ -22,6 +22,7 @@ static const char * const worktree_usage[] = {
        N_("git worktree move <worktree> <new-path>"),
        N_("git worktree prune [<options>]"),
        N_("git worktree remove [<options>] <worktree>"),
+       N_("git worktree repair [<path>...]"),
        N_("git worktree unlock <path>"),
        NULL
 };