diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-11-29 13:28:02 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-11-29 13:28:02 -0800 |
commit | af8d6a9821d79f18c8b645582b5b5d251066ae2f (patch) | |
tree | 0001cb05252fa0c6211a63a437f23f70406973d3 /builtin/checkout.c | |
parent | 797d1a4672c67ed4e560c67c5d1fe208e31f0b47 (diff) | |
parent | 4bd488ea7c56b673947b07511d26f2afc4ec0bd6 (diff) | |
download | git-af8d6a9821d79f18c8b645582b5b5d251066ae2f.tar.gz git-af8d6a9821d79f18c8b645582b5b5d251066ae2f.tar.xz |
Merge branch 'jk/create-branch-remove-unused-param' into maint
Code clean-up.
* jk/create-branch-remove-unused-param:
create_branch: drop unused "head" parameter
Diffstat (limited to 'builtin/checkout.c')
-rw-r--r-- | builtin/checkout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c index 32cf317ec..899bd8db0 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -631,7 +631,7 @@ static void update_refs_for_switch(const struct checkout_opts *opts, } } else - create_branch(old->name, opts->new_branch, new->name, + create_branch(opts->new_branch, new->name, opts->new_branch_force ? 1 : 0, opts->new_branch_log, opts->new_branch_force ? 1 : 0, |