diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-17 23:21:33 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-18 04:51:58 (GMT) |
commit | 5e7dcad771cb873e278a0571b46910d7c32e2f6c (patch) | |
tree | 63cf95d948af798a1d6663c2de326ad13ac29b17 /upload-pack.c | |
parent | 7171d8c15f919c760d52f814a0aee1b1253385b1 (diff) | |
download | git-5e7dcad771cb873e278a0571b46910d7c32e2f6c.zip git-5e7dcad771cb873e278a0571b46910d7c32e2f6c.tar.gz git-5e7dcad771cb873e278a0571b46910d7c32e2f6c.tar.bz2 |
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>
Diffstat (limited to 'upload-pack.c')
-rw-r--r-- | upload-pack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upload-pack.c b/upload-pack.c index 979fc8e..2826909 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -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(); |