diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-10-24 04:25:12 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-24 04:25:12 +0300 |
commit | b84c7838829f997e0a0028b678b7ae8f7a21cc62 (patch) | |
tree | 41a42737c42e8ee617a03e806a06015350dc5bd3 | |
parent | 05b4ed61f4e669da839892e03dad70e15d9a4cd3 (diff) |
fsck: s/++i > 1/i++/
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -485,7 +485,7 @@ static int fsck_walk_commit(struct commit *commit, void *data, struct fsck_optio if (name) { struct object *obj = &parents->item->object; - if (++counter > 1) + if (counter++) put_object_name(options, obj, "%s^%d", name, counter); else if (generation > 0) |