]> git.ipfire.org Git - thirdparty/git.git/commit
t1302: don't create unused file
authorAndrei Rybak <rybak.a.v@gmail.com>
Sat, 18 Mar 2023 15:46:43 +0000 (16:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Mar 2023 16:11:41 +0000 (09:11 -0700)
commit17ae7f758e728ac40e326a3ab82a7727d735484a
tree7c48dd3a27be46965aaf302ff5bfde2345512921
parentf4b98e17cf290883894606623e90d42747bce25e
t1302: don't create unused file

Test 'gitdir selection on unsupported repo' in t1302-repo-version.sh
writes output of a "git config" invocation to file "actual".  However,
the test doesn't have any assertions for the file.  The file was used by
this test until commit b9605bc4f2 (config: only read .git/config from
configured repos, 2016-09-12), before which "git config" was expected to
print the bogus value of "core.repositoryformatversion" to standard
output.

Don't redirect output of "git config" to file "actual" in test 'gitdir
selection on unsupported repo'.

Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1302-repo-version.sh