aboutsummaryrefslogtreecommitdiffstats
path: root/t/t5515-fetch-merge-logic.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-03-11 14:25:02 -0700
committerJunio C Hamano <gitster@pobox.com>2025-03-12 08:48:21 -0700
commit926d18e58dc13f1c095006e7c8bdfa25ad707830 (patch)
tree844551dd73d66f9beefbc7d7fd9148627c325da3 /t/t5515-fetch-merge-logic.sh
parent1c24d55a2fdea3599a1cc3cdaeef1e1fa173b2c5 (diff)
downloadgit-926d18e58dc13f1c095006e7c8bdfa25ad707830.tar.gz
t: introduce WITH_BREAKING_CHANGES prerequisite
Earlier c5bc9a7f (Makefile: wire up build option for deprecated features, 2025-01-22) made an unfortunate decision to introduce the WITHOUT_BREAKING_CHANGES prerequisite to perform tests that ensure the historical behaviour that may be different from what we will have in the future. It would inevitably invite double-negation when we need to add tests to ensure the behaviour we want to have in the future. Introduce WITH_BREAKING_CHANGES prerequisite and replace the existing uses of WITHOUT_BREAKING_CHANGES prerequisite. To catch any future topics that add more uses of WITHOUT_BREAKING_CHANGES, mark it as a removed prerequisite. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515-fetch-merge-logic.sh')
-rwxr-xr-xt/t5515-fetch-merge-logic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5515-fetch-merge-logic.sh b/t/t5515-fetch-merge-logic.sh
index 4e6026c611..8ac04d742c 100755
--- a/t/t5515-fetch-merge-logic.sh
+++ b/t/t5515-fetch-merge-logic.sh
@@ -104,7 +104,7 @@ test_expect_success setup '
git config remote.config-glob.fetch refs/heads/*:refs/remotes/rem/* &&
remotes="$remotes config-glob" &&
- if test_have_prereq WITHOUT_BREAKING_CHANGES
+ if ! test_have_prereq WITH_BREAKING_CHANGES
then
mkdir -p .git/remotes &&
cat >.git/remotes/remote-explicit <<-\EOF &&