Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
branch: make create_branch accept a merge base rev
[gitweb.git]
/
branch.c
diff --git
a/branch.c
b/branch.c
index 28b81a7e0256b2923c0fe296d9618d130821cdc4..a84c8aaca2d3c563d167e25c6a3add950ec85a6c 100644
(file)
--- a/
branch.c
+++ b/
branch.c
@@
-268,7
+268,7
@@
void create_branch(struct repository *r,
}
real_ref = NULL;
- if (get_oid(start_name, &oid)) {
+ if (get_oid
_mb
(start_name, &oid)) {
if (explicit_tracking) {
if (advice_set_upstream_failure) {
error(_(upstream_missing), start_name);