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'

1  2 
builtin/worktree.c
index 78d26902a6f1388a4cdd7d127a2a0c6359a00d19,8d85a8bc11c568e7b28804e68b7d9434aa624997..d281f6d887691fb43ebb052091f84e78aabe6d01
@@@ -3,18 -3,12 +3,18 @@@
  #include "dir.h"
  #include "parse-options.h"
  #include "argv-array.h"
 +#include "branch.h"
 +#include "refs.h"
  #include "run-command.h"
  #include "sigchain.h"
 +#include "refs.h"
 +#include "utf8.h"
 +#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
  };