Merge branch 'es/worktree-add' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 4 Nov 2015 22:20:44 +0000 (14:20 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Nov 2015 22:20:44 +0000 (14:20 -0800)
* es/worktree-add:
worktree: usage: denote <branch> as optional with 'add'

builtin/worktree.c
index 71bb770f7a4b4b864efcbf4c3983bbd4a645f4e2..33d2d3705afacfb49973141a546f281d871e8eb6 100644 (file)
@@ -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
 };