Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack-objects: refactor code into compute_layer_order()
[gitweb.git]
/
branch.c
diff --git
a/branch.c
b/branch.c
index 6a35dd31f2a9c9171a866c66f65cbb30e2e511a8..ecd710d7308c9d2be85cd3bcde4fd9d38dec0edc 100644
(file)
--- a/
branch.c
+++ b/
branch.c
@@
-302,7
+302,7
@@
void create_branch(const char *name, const char *start_name,
break;
}
- if ((commit = lookup_commit_reference(&oid)) == NULL)
+ if ((commit = lookup_commit_reference(
the_repository,
&oid)) == NULL)
die(_("Not a valid branch point: '%s'."), start_name);
oidcpy(&oid, &commit->object.oid);