summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-22 21:24:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-22 21:24:17 (GMT)
commite55521be8d2606b4b513d25459d8b97a0ff8a50e (patch)
tree50627f60928ab7976f114f7eb0f1659c00aabea4 /builtin
parent9c34129e6bd124ae0ec34fb4ace3fa00e22fded7 (diff)
parentb780e4407d559e51224dded31e3d90e25191eb08 (diff)
downloadgit-e55521be8d2606b4b513d25459d8b97a0ff8a50e.zip
git-e55521be8d2606b4b513d25459d8b97a0ff8a50e.tar.gz
git-e55521be8d2606b4b513d25459d8b97a0ff8a50e.tar.bz2
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
Diffstat (limited to 'builtin')
-rw-r--r--builtin/worktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 7cef5b1..9efdc22 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 [<options>] <path> [<branch>]"),
+ N_("git worktree add [<options>] <path> [<commit-ish>]"),
N_("git worktree list [<options>]"),
N_("git worktree lock [<options>] <path>"),
N_("git worktree prune [<options>]"),