diff options
author | D. Ben Knoble <ben.knoble+github@gmail.com> | 2025-08-13 13:50:05 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-08-13 11:50:00 -0700 |
commit | a60203a01512c7544e5e10b9e8b936a30ac4455c (patch) | |
tree | 4a2c94f22504ca074ab0736e904a322aaa0ad15d /builtin/commit.c | |
parent | a9c4141abb9fa13abcb226d569c43f9b7b0aa53f (diff) |
t7005: sanitize test environment for subsequent tests
Some of the editor tests manipulate the environment or config in ways
that affect future tests, but those modifications are visible to future
tests and create a footgun for them.
Use test_config, subshells, single-command environment overrides, and
test helpers to automatically undo environment and config modifications
once finished.
Best-viewed-with: --ignore-all-space
Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions