Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pretty: recalculate duplicate short hashes
[gitweb.git]
/
builtin
/
checkout.c
diff --git
a/builtin/checkout.c
b/builtin/checkout.c
index 32cf317ec244f0f08d2a2174e3e5b6279cde5b85..899bd8db0b50d8d8a1cb00a9432692d9b898980d 100644
(file)
--- 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(o
ld->name, o
pts->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,