diff options
author | Jiang Xin <zhiyou.jx@alibaba-inc.com> | 2025-02-03 07:29:33 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-02-03 15:24:56 -0800 |
commit | bc0f5939a58fda328bdba70eb64a19c969b9f8d8 (patch) | |
tree | 5c4fe7b8b64ae0885e84e0df71be3e406815ea6c /commit-graph.c | |
parent | 12ad6b8feaf9dbbe8f040ce8620700cae793708b (diff) |
t5548: refactor test cases by resetting upstream
Refactor the test cases with the following changes:
- Calling setup_upstream() to reset upstream after running each test
case.
- Change the initial branch tips of the workspace to reduce the branch
setup operations in the workspace.
- Reduced the two steps of setting up and cleaning up the pre-receive
hook by moving the operations into the corresponding test case,
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