mirror of
https://github.com/git/git.git
synced 2024-10-29 21:37:53 +01:00
upload-pack: send non-HEAD symbolic refs
With the same mechanism as used to tell where "HEAD" points at to the other end, we can tell the target of other symbolic refs as well. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
7171d8c15f
commit
5e7dcad771
1 changed files with 1 additions and 0 deletions
|
@ -798,6 +798,7 @@ static void upload_pack(void)
|
|||
struct string_list symref = STRING_LIST_INIT_DUP;
|
||||
|
||||
head_ref_namespaced(find_symref, &symref);
|
||||
for_each_namespaced_ref(find_symref, &symref);
|
||||
|
||||
if (advertise_refs || !stateless_rpc) {
|
||||
reset_timeout();
|
||||
|
|
Loading…
Reference in a new issue