Skip to content

Commit e55521b

Browse files
committed
Merge branch 'jc/worktree-add-short-help' into maint
Error message fix. * jc/worktree-add-short-help: worktree: say that "add" takes an arbitrary commit in short-help
2 parents 9c34129 + b780e44 commit e55521b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/worktree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "worktree.h"
1515

1616
static const char * const worktree_usage[] = {
17-
N_("git worktree add [<options>] <path> [<branch>]"),
17+
N_("git worktree add [<options>] <path> [<commit-ish>]"),
1818
N_("git worktree list [<options>]"),
1919
N_("git worktree lock [<options>] <path>"),
2020
N_("git worktree prune [<options>]"),

0 commit comments

Comments
 (0)