summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2026-05-27 16:08:16 +0200
committerJunio C Hamano <gitster@pobox.com>2026-05-28 05:20:15 +0900
commit53951298515ad26728175182c9103eea71885220 (patch)
tree730f6332262e8c58256445e867fc9fdc4ae5930b /contrib/persistent-https
parent58880c82feb460015153575dc02b9959e4d8a8a0 (diff)
promisor-remote: add 'local_name' to 'struct promisor_info'
In a following commit, we will store promisor remote information under a remote name different than the one the server advertised. To prepare for this change, let's add a new 'char *local_name' member to 'struct promisor_info', and let's update the related functions. While at it, let's also add a small promisor_info_local_name() helper that returns `local_name` when set, `name` otherwise, and let's use this small helper in promisor_store_advertised_fields() and in the post-loop of filter_promisor_remote() so that lookups against the local repo configuration use the right name. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions