summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorUsman Akinyemi <usmanakinyemi202@gmail.com>2026-05-03 21:04:01 +0530
committerJunio C Hamano <gitster@pobox.com>2026-05-04 10:11:17 +0900
commit3e7b9dce27b1519f6745c89fe01f0b840acddb0a (patch)
tree6cb9e47342376c3bdf11990363e50bd82ce60823 /t/t4013/diff.diff_initial..side
parent6ab1b3b74d02151e7570b82554e9cadebe0ea6b8 (diff)
remote: move remote group resolution to remote.c
`get_remote_group`, `add_remote_or_group`, and the `remote_group_data` struct are currently defined as static helpers inside builtin/fetch.c. They implement generic remote group resolution that is not specific to fetch — they parse `remotes.<name>` config entries and resolve a name to either a list of group members or a single configured remote. Move them to remote.c and declare them in remote.h so that other builtins can use the same logic without duplication. Useful for the next patch. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions