Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
enter_repo: do not modify input
[gitweb.git]
/
branch.c
diff --git
a/branch.c
b/branch.c
index 4338a90b396351f7fd51ec2e07da6a4044b4bb3d..fecedd3b4635c79adcbe0e26613af079beff64d0 100644
(file)
--- a/
branch.c
+++ b/
branch.c
@@
-227,7
+227,7
@@
void create_branch(const char *head,
start_name);
if (real_ref && track)
- setup_tracking(
name
, real_ref, track);
+ setup_tracking(
ref.buf+11
, real_ref, track);
if (!dont_change_ref)
if (write_ref_sha1(lock, sha1, msg) < 0)