diff options
author | Patrick Steinhardt <ps@pks.im> | 2022-03-01 10:33:50 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-01 10:13:46 -0800 |
commit | 1553f5e76c72243f61b454412b651706a869388f (patch) | |
tree | 9c8fd917eab6fa936be11f3472c6708fce5adf9a /builtin/update-server-info.c | |
parent | refs: add ability for backends to special-case reading of symbolic refs (diff) | |
download | tgif-1553f5e76c72243f61b454412b651706a869388f.tar.xz |
remote: read symbolic refs via `refs_read_symbolic_ref()`
We have two cases in the remote code where we check whether a reference
is symbolic or not, but don't mind in case it doesn't exist or in case
it exists but is a non-symbolic reference. Convert these two callsites
to use the new `refs_read_symbolic_ref()` function, whose intent is to
implement exactly that usecase.
No change in behaviour is expected from this change.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/update-server-info.c')
0 files changed, 0 insertions, 0 deletions