receive.fsck.<msg-id> tests: remove dead code
Remove the setting of a receive.fsck.badDate config variable to "ignore". This was added in efaba7cc77 ("fsck: optionally ignore specific fsck issues completely", 2015-06-22) but never did anything, presumably it was part of some work-in-progress code that never made it into git.git. None of these tests will emit the "invalid author/committer line - bad date" warning. The dates on the commit objects we're setting up are not invalid. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Jul 27, 2018 at 14:37 UTC
95d9d4b30cd5a7eece51a3d6b26023bb5da3378e
1 file changed
-2
t/t5504-fetch-receive-strict.sh
-2
@@ -149,8 +149,6 @@ test_expect_success 'push with receive.fsck.missingEmail=warn' '
149
git --git-dir=dst/.git branch -D bogus &&
150
git --git-dir=dst/.git config --add \
151
receive.fsck.missingEmail ignore &&
152
- git --git-dir=dst/.git config --add \
153
- receive.fsck.badDate warn &&
152
git push --porcelain dst bogus >act 2>&1 &&
153
! grep "missingEmail" act
154
'