Merge branch 'gc/use-repo-settings'
It is wrong to read some settings directly from the config subsystem, as things like feature.experimental can affect their default values. * gc/use-repo-settings: gc: perform incremental repack when implictly enabled fsck: verify multi-pack-index when implictly enabled fsck: verify commit graph when implicitly enabled
This commit is contained in:
@ -467,7 +467,10 @@ test_expect_success 'verify incorrect offset' '
|
||||
test_expect_success 'git-fsck incorrect offset' '
|
||||
corrupt_midx_and_verify $MIDX_BYTE_OFFSET "\377" $objdir \
|
||||
"incorrect object offset" \
|
||||
"git -c core.multipackindex=true fsck"
|
||||
"git -c core.multiPackIndex=true fsck" &&
|
||||
test_unconfig core.multiPackIndex &&
|
||||
test_must_fail git fsck &&
|
||||
git -c core.multiPackIndex=false fsck
|
||||
'
|
||||
|
||||
test_expect_success 'corrupt MIDX is not reused' '
|
||||
|
Reference in New Issue
Block a user