mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-22 02:54:28 -05:00
Merge branch 'ss/t0410-delete-object-cleanup'
Test clean-up. * ss/t0410-delete-object-cleanup: t0410: modernize delete_object helper
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user