new_branch 41 builtin/checkout.c const char *new_branch; new_branch 267 builtin/checkout.c if (opts->new_branch) new_branch 269 builtin/checkout.c opts->new_branch); new_branch 611 builtin/checkout.c if (opts->new_branch) { new_branch 631 builtin/checkout.c create_branch(old->name, opts->new_branch, new->name, new_branch 637 builtin/checkout.c new->name = opts->new_branch; new_branch 672 builtin/checkout.c } else if (opts->new_branch) { new_branch 904 builtin/checkout.c const char **new_branch = &opts->new_branch; new_branch 996 builtin/checkout.c *new_branch = arg; new_branch 1059 builtin/checkout.c if (!opts->new_branch) new_branch 1061 builtin/checkout.c strbuf_addf(&branch_ref, "refs/heads/%s", opts->new_branch); new_branch 1066 builtin/checkout.c opts->new_branch); new_branch 1087 builtin/checkout.c if (opts->force_detach && opts->new_branch) new_branch 1104 builtin/checkout.c if (new->path && !opts->force_detach && !opts->new_branch && new_branch 1115 builtin/checkout.c if (!new->commit && opts->new_branch) { new_branch 1134 builtin/checkout.c OPT_STRING('b', NULL, &opts.new_branch, N_("branch"), new_branch 1180 builtin/checkout.c if ((!!opts.new_branch + !!opts.new_branch_force + !!opts.new_orphan_branch) > 1) new_branch 1189 builtin/checkout.c opts.new_branch = opts.new_branch_force; new_branch 1192 builtin/checkout.c opts.new_branch = opts.new_orphan_branch; new_branch 1195 builtin/checkout.c if (opts.track != BRANCH_TRACK_UNSPECIFIED && !opts.new_branch) { new_branch 1204 builtin/checkout.c opts.new_branch = argv0 + 1; new_branch 1226 builtin/checkout.c !opts.new_branch; new_branch 1245 builtin/checkout.c if (opts.new_branch && argc == 1) new_branch 1248 builtin/checkout.c opts.new_branch, argv[0]); new_branch 1259 builtin/checkout.c if (opts.new_branch) { new_branch 1263 builtin/checkout.c validate_new_branchname(opts.new_branch, &buf, new_branch 21 builtin/worktree.c const char *new_branch; new_branch 317 builtin/worktree.c OPT_STRING('b', NULL, &opts.new_branch, N_("branch"), new_branch 327 builtin/worktree.c if (!!opts.detach + !!opts.new_branch + !!new_branch_force > 1) new_branch 337 builtin/worktree.c opts.new_branch = new_branch_force; new_branch 339 builtin/worktree.c if (ac < 2 && !opts.new_branch && !opts.detach) { new_branch 342 builtin/worktree.c opts.new_branch = xstrndup(s, n); new_branch 345 builtin/worktree.c if (opts.new_branch) { new_branch 352 builtin/worktree.c argv_array_push(&cp.args, opts.new_branch); new_branch 356 builtin/worktree.c branch = opts.new_branch; new_branch 2697 fast-import.c b = new_branch(arg); new_branch 2877 fast-import.c b = new_branch(arg);