Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'es/worktree-add'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 26 Oct 2015 22:55:21 +0000
(15:55 -0700)
committer
Junio 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
patch
|
diff1
|
diff2
|
blob
|
history
raw
|
combined
(merge:
1ad7c0f
ae9f274
)
diff --cc
builtin/worktree.c
index 78d26902a6f1388a4cdd7d127a2a0c6359a00d19,8d85a8bc11c568e7b28804e68b7d9434aa624997..d281f6d887691fb43ebb052091f84e78aabe6d01
---
1
/
builtin/worktree.c
---
2
/
builtin/worktree.c
+++ b/
builtin/worktree.c
@@@
-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
};