]> git.ipfire.org Git - thirdparty/git.git/commit
t5410: test receive-pack connectivity check
authorJustin Tobler <jltobler@gmail.com>
Tue, 20 May 2025 16:32:17 +0000 (11:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 May 2025 18:43:36 +0000 (11:43 -0700)
commit95262afe788e0b6b4ae5ff37e8d28fb5883c1a82
tree69a3534b44d46a2d48c8e9247ea8e3a3a2b6ff3d
parent8613c2bb6cd16ef530dc5dd74d3b818a1ccbf1c0
t5410: test receive-pack connectivity check

As part of git-recieve-pack(1), the connectivity of objects is checked.
Add a test validating that git-receive-pack(1) fails due to an incoming
packfile that would leave the repository with missing objects. Instead
of creating a new test file, "t5410" is generalized for receive-pack
testing.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/meson.build
t/t5410-receive-pack.sh [moved from t/t5410-receive-pack-alternates.sh with 57% similarity]