diff options
author | Jiang Xin <zhiyou.jx@alibaba-inc.com> | 2025-02-03 07:29:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-02-03 15:24:56 -0800 |
commit | 12ad6b8feaf9dbbe8f040ce8620700cae793708b (patch) | |
tree | 84cf0f89835b2aaa00a8ed5572bf60f6199acca1 /commit-graph.c | |
parent | b1be3953e5ff5c85853e184d16cb213e8f9c4623 (diff) |
t5548: refactor to reuse setup_upstream() function
Refactor the function setup_upstream_and_workbench(), extracting
create_upstream_template() and setup_upstream() from it. The former is
used to create the upstream repository template, while the latter is
used to rebuild the upstream repository and will be reused in subsequent
commits.
To ensure that setup_upstream() works properly in both local and HTTP
protocols, the HTTP settings have been moved to the setup_upstream() and
setup_upstream_and_workbench() functions.
Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions