Merge branch 'ss/t0410-delete-object-cleanup'

Test clean-up.

* ss/t0410-delete-object-cleanup:
  t0410: modernize delete_object helper
maint
Junio C Hamano 2026-03-24 12:31:31 -07:00
commit dd33e738a4
1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@ test_description='partial clone'
GIT_TEST_COMMIT_GRAPH=0

delete_object () {
rm $1/.git/objects/$(echo $2 | sed -e 's|^..|&/|')
local repo="$1"
local obj="$2"
local path="$repo/.git/objects/$(test_oid_to_path "$obj")" &&
rm "$path"
}

pack_as_from_promisor () {