summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-11-04 14:20:44 -0800
committerJunio C Hamano <gitster@pobox.com>2015-11-04 14:20:44 -0800
commitd091031ce2d6bf8a8e9bc4d16acf426449c62a68 (patch)
treeeaaa4454d2b6ffc95216a76e90e152ac4690b1ac
parentfdca2bed90a7991f2a3afc6a463e45acb03487ac (diff)
parentae9f2745bee74ed169f0ca2933b8cc9d21214110 (diff)
downloadgit-d091031ce2d6bf8a8e9bc4d16acf426449c62a68.tar.gz
Merge branch 'es/worktree-add' into maint
* es/worktree-add: worktree: usage: denote <branch> as optional with 'add'
-rw-r--r--builtin/worktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index 71bb770f7a..33d2d3705a 100644
--- a/builtin/worktree.c
+++ b/builtin/worktree.c
@@ -10,7 +10,7 @@
#include "refs.h"
static const char * const worktree_usage[] = {
- N_("git worktree add [<options>] <path> <branch>"),
+ N_("git worktree add [<options>] <path> [<branch>]"),
N_("git worktree prune [<options>]"),
NULL
};