summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorBrian Lyles <brianmlyles@gmail.com>2024-03-25 02:25:12 -0500
committerJunio C Hamano <gitster@pobox.com>2024-03-25 12:19:45 -0700
commit2cd134f2c538a9cb7b0946ace6004489eba9535f (patch)
treec677ad3962a666dd9e16b7bc7218aeeb68e60aba /builtin/commit.c
parent0d1bd1dfb37ef25e1911777c94129fc769ffec38 (diff)
pretty: update tests to use `test_config`
These tests use raw `git config` calls, which is an older style that can cause config to bleed between tests if not manually unset. `test_config` ensures that config is unset at the end of each test automatically. `test_config` is chosen over `git -c` since `test_config` still ends up calling `git config` which seems slightly more realistic to how pretty formats would be defined normally. Suggested-by: Jeff King <peff@peff.net> Signed-off-by: Brian Lyles <brianmlyles@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions