summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-02-23 12:59:36 +0100
committerJunio C Hamano <gitster@pobox.com>2026-02-23 13:21:17 -0800
commit7543920af2f1a48ed4656e38a442125ef60cc3b0 (patch)
treeb162b9ac65dc271a7c2fac489c59c91f433619ac /contrib/persistent-https
parent57fa3161a0ba4fb5e17dba8244bc854d91ae98bf (diff)
downloadgit-7543920af2f1a48ed4656e38a442125ef60cc3b0.tar.gz
git-7543920af2f1a48ed4656e38a442125ef60cc3b0.zip
refs: move `refs_head_ref_namespaced()`
The function `refs_head_ref_namespaced()` is somewhat special when compared to most of the other functions that take a callback function: while `refs_for_each_*()` functions yield multiple refs, `refs_heasd_ref_namespaced()` will only yield at most the HEAD ref of the current namespace. As such, the function is related to `refs_head_ref()` and not to the for-each functions. Move the function to be located next to `refs_head_ref()` to clarify. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions