Merge branch 'es/worktree-add'
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Oct 2015 22:55:21 +0000 (15:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Oct 2015 22:55:21 +0000 (15:55 -0700)
* es/worktree-add:
worktree: usage: denote <branch> as optional with 'add'

builtin/worktree.c
index 78d26902a6f1388a4cdd7d127a2a0c6359a00d19..d281f6d887691fb43ebb052091f84e78aabe6d01 100644 (file)
@@ -12,7 +12,7 @@
 #include "worktree.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>]"),
        N_("git worktree list [<options>]"),
        NULL