summaryrefslogtreecommitdiff
path: root/builtin/worktree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-11-04 14:20:44 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-11-04 14:20:44 -0800
commitd091031ce2d6bf8a8e9bc4d16acf426449c62a68 (patch)
treeeaaa4454d2b6ffc95216a76e90e152ac4690b1ac /builtin/worktree.c
parentMerge branch 'mk/blame-error-message' into maint (diff)
parentworktree: usage: denote <branch> as optional with 'add' (diff)
downloadtgif-d091031ce2d6bf8a8e9bc4d16acf426449c62a68.tar.xz
Merge branch 'es/worktree-add' into maint
* es/worktree-add: worktree: usage: denote <branch> as optional with 'add'
Diffstat (limited to 'builtin/worktree.c')
-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
};