From: Karthik Nayak Date: Fri, 22 Dec 2023 11:41:10 GMT Subject: Re: [PATCH 01/12] t: introduce DEFAULT_REPO_FORMAT prereq Message-ID: In-Reply-To: <239ca38efdbe3195e6319be4423b17d2b42e0b9f.1703067989.git.ps@pks.im> Patrick Steinhardt writes: > A limited number of tests require repositories to have the default > repository format or otherwise they would fail to run, e.g. because they > fail to detect the correct hash function. While the hash function is the > only extension right now that creates problems like this, we are about > to add a second extensions for the ref format. > Nit: s/extensions/extension > -test_expect_success SHA1 'git branch -m q q2 without config should succeed' ' > +test_expect_success DEFAULT_REPO_FORMAT 'git branch -m q q2 without config should succeed' ' > git branch -m q q2 && > git branch -m q2 q > ' My only concern is whether we'll end up blindly adding DEFAULT_REPO_FORMAT for tests where only SHA1 is a prereq or only where the new format extension is a prereq.