Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ls/p4-empty-file-on-lfs'
[gitweb.git]
/
builtin
/
checkout.c
diff --git
a/builtin/checkout.c
b/builtin/checkout.c
index 9b2a5b31d423ae2f27756df8deab2d9f2fe18ddc..512492aad9099dd2a7aa85391b5c9a8e321c3bfe 100644
(file)
--- a/
builtin/checkout.c
+++ b/
builtin/checkout.c
@@
-630,7
+630,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,