diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2025-01-26 23:02:10 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-01-27 08:16:45 -0800 |
commit | 638060dcb95ed7ef3b2f6e6038ac12744d8ba238 (patch) | |
tree | 001616c2a8e96b6f8f3e845ada91d8c2c2ad735b /commit.c | |
parent | fbe8d3079d4a96aeb4e4529cc93cc0043b759a05 (diff) |
fetch set_head: refactor to use remote directly
As a preparatory step to use even more properties from the remote
struct, refactor set_head to take the entire struct as a parameter,
instead of the necessary bits. This also allows consolidating the use of
gtransport->remote in set_head, making the access of the remote's
properties consistent in the function.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions