Merge branch 'ks/branch-cleanup'
Code clean-up. * ks/branch-cleanup: builtin/branch: strip refs/heads/ using skip_prefix branch: update warning message shown when copying a misnamed branch branch: group related arguments of create_branch() branch: improve documentation and naming of create_branch() parameters
This commit is contained in:
@ -647,8 +647,8 @@ static void update_refs_for_switch(const struct checkout_opts *opts,
|
||||
else
|
||||
create_branch(opts->new_branch, new->name,
|
||||
opts->new_branch_force ? 1 : 0,
|
||||
opts->new_branch_log,
|
||||
opts->new_branch_force ? 1 : 0,
|
||||
opts->new_branch_log,
|
||||
opts->quiet,
|
||||
opts->track);
|
||||
new->name = opts->new_branch;
|
||||
|
Reference in New Issue
Block a user