Re: [PATCH v2 0/4] Teach `git fsck` a new option: `--name-objects`
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 18, 2016, 18:42 UTC
- Message-ID
- <xmqqinw2kcsz.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <cover.1468752290.git.johannes.schindelin@gmx.de>
Johannes Schindelin <johannes.schindelin@gmx.de> writes:
Show 6 quoted lines
> -static int fsck_error_func(struct object *obj, int type, const char *message)
> +static int fsck_error_func(struct fsck_options *o,
> + struct object *obj, int type, const char *message)
> {
> objreport(obj, (type == FSCK_WARN) ? "warning" : "error", message);
> return (type == FSCK_WARN) ? 0 : 1;That's a good change.