diff options
| author | Justin Tobler <jltobler@gmail.com> | 2024-11-27 17:33:10 -0600 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-11-28 12:07:58 +0900 |
| commit | 187574ce869f1244de83fc6a0a5b6d614fe979f2 (patch) | |
| tree | 9c9d78a9c2b4ba83348520a7ceb76f8c90d547f9 /fetch-pack.c | |
| parent | bundle: add bundle verification options type (diff) | |
| download | git-187574ce869f1244de83fc6a0a5b6d614fe979f2.tar.gz git-187574ce869f1244de83fc6a0a5b6d614fe979f2.zip | |
bundle: support fsck message configuration
If the `VERIFY_BUNDLE_FLAG` is set during `unbundle()`, the
git-index-pack(1) spawned is configured with the `--fsck-options` flag
to perform fsck verification. With this flag enabled, there is not a way
to configure fsck message severity though.
Extend the `unbundle_opts` type to store fsck message severity
configuration and update `unbundle()` to conditionally append it to the
`--fsck-objects` flag if provided. This enables `unbundle()` call sites
to support optionally setting the severity for specific fsck messages.
Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.c')
0 files changed, 0 insertions, 0 deletions
