fsck: s/++i > 1/i++/

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Oct 24, 2018 at 10:25 UTC b84c7838829f997e0a0028b678b7ae8f7a21cc62
1 file changed +1 -1
fsck.c
+1 -1
@@ -485,7 +485,7 @@ static int fsck_walk_commit(struct commit *commit, void *data, struct fsck_optio
485 if (name) {
486 struct object *obj = &parents->item->object;
487
488 - if (++counter > 1)
488 + if (counter++)
489 put_object_name(options, obj, "%s^%d",
490 name, counter);
491 else if (generation > 0)