]> git.ipfire.org Git - thirdparty/git.git/commit
t0610: make `--shared=` tests reusable
authorPatrick Steinhardt <ps@pks.im>
Tue, 9 Apr 2024 09:57:27 +0000 (11:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Apr 2024 21:14:00 +0000 (14:14 -0700)
commit2f960dd5fe484679486cfdd42a3f0015d97fa822
tree94610afb11643b720be4a4e207441573df94c401
parent8a0bebdeaec60623c8a791b197d574bdd031a452
t0610: make `--shared=` tests reusable

We have two kinds of `--shared=` tests, one for git-init(1) and one for
git-pack-refs(1). Merge them into a reusable function such that we can
easily add additional testcases with different umasks and flags for the
`--shared=` switch.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0610-reftable-basics.sh