transport: parse report options for tracking refs
commit1702ae6f61412fa7d858701a7724a5cbf4aeea3e
authorJiang Xin <zhiyou.jx@alibaba-inc.com>
Thu, 27 Aug 2020 15:45:50 +0000 (27 11:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Aug 2020 19:48:47 +0000 (27 12:48 -0700)
tree39e0c2db52ba6e299bc84a1e57cd8e0856f26d76
parentc6a6a01c4acae1ed4b8a61176e3346e90b298ddd
transport: parse report options for tracking refs

When pushing a pseudo reference (such as "refs/for/master/topic"), may
create or update one or more references.  The real names of the
references will be stored in the report options.  Parse report options
to create or update remote-tracking branches properly.

Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5411/test-0036-report-multi-rewrite-for-one-ref.sh
transport.c