Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Ensure tail pointer gets setup correctly when we fetch HEAD only
[gitweb.git]
/
builtin-fetch.c
diff --git
a/builtin-fetch.c
b/builtin-fetch.c
index 1348a0e952fd2ff7ad9b05995c030708e6045723..5bce20f94f300e6ce1c96bf5971a4cfd4408f0ff 100644
(file)
--- a/
builtin-fetch.c
+++ b/
builtin-fetch.c
@@
-157,6
+157,7
@@
static struct ref *get_ref_map(struct transport *transport,
if (!ref_map)
die("Couldn't find remote ref HEAD");
ref_map->merge = 1;
+ tail = &ref_map->next;
}
}
ref_remove_duplicates(ref_map);