From b780e4407d559e51224dded31e3d90e25191eb08 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 17 Jan 2018 10:32:32 -0800 Subject: [PATCH] worktree: say that "add" takes an arbitrary commit in short-help c4738aed ("worktree: add can be created from any commit-ish", 2017-11-26) taught "git worktree add" to start a new worktree with an arbitrary commit-ish checked out, not limited to a tip of a branch. "git worktree --help" was updated to describe this, but we forgot to update "git worktree -h". Signed-off-by: Junio C Hamano --- builtin/worktree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/worktree.c b/builtin/worktree.c index 002a569a11..4666abd2cf 100644 --- a/builtin/worktree.c +++ b/builtin/worktree.c @@ -14,7 +14,7 @@ #include "worktree.h" static const char * const worktree_usage[] = { - N_("git worktree add [] []"), + N_("git worktree add [] []"), N_("git worktree list []"), N_("git worktree lock [] "), N_("git worktree prune []"), -- 2.11.4.GIT