summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Des Preston <despreston@gmail.com>2022-03-28 20:47:05 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-29 12:02:21 -0700
commit2e2c0be51ed33598a03db51952993514708240d4 (patch)
tree5a764730b5807394b228b567727d419adbcc724c
parentGit 2.35.1 (diff)
downloadtgif-2e2c0be51ed33598a03db51952993514708240d4.tar.xz
worktree: include repair cmd in usage
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>
-rw-r--r--builtin/worktree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 2838254f7f..498975c1fd 100644
--- a/builtin/worktree.c
+++ b/builtin/worktree.c
@@ -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
};