Re: [PATCH v2 2/2] index-pack: --fsck-objects to take an optional argument for fsck msgs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 26, 2024, 18:13 UTC
- Message-ID
- <xmqqwmrwm08t.fsf@gitster.g>
- In-Reply-To
- <cce63c6465fb1e29252d7e0918e03ff0f08d37f4.1706289180.git.gitgitgadget@gmail.com>
"John Cai via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 6 quoted lines
> +--fsck-objects[=<msg-ids>=<severity>...]:: > + Instructs index-pack to check for broken objects, but unlike `--strict`, > + does not choke on broken links. If `<msg-ids>` is passed, it should be > + a comma-separated list of `<msg-id>=<severity>` where `<msg-id>` and > + `<severity>` are used to change the severity of `fsck` errors e.g., > + `--strict="missingEmail=ignore,badTagName=ignore"`. See the entry for
In addition to the comment I made in my reply to 1/2, this should be `--fsck-objects="missingEmail=ignore,badTagName=ignore"`, I think. Will treak locally.
Thanks.