Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
checkout: check_linked_checkout: simplify symref parsing
[gitweb.git]
/
builtin
/
worktree.c
diff --git
a/builtin/worktree.c
b/builtin/worktree.c
index 050b443dc008e4da542147edae391735426844c4..69248ba0a352de82f59a117b9ba4ed4e6af74a4d 100644
(file)
--- a/
builtin/worktree.c
+++ b/
builtin/worktree.c
@@
-303,7
+303,7
@@
static int add(int ac, const char **av, const char *prefix)
argv_array_push(&cmd, "checkout");
if (force)
- argv_array_push(&cmd, "--
force
");
+ argv_array_push(&cmd, "--
ignore-other-worktrees
");
if (new_branch)
argv_array_pushl(&cmd, "-b", new_branch, NULL);
if (new_branch_force)