Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
fsck: s/++i > 1/i++/
author
Junio C Hamano
<gitster@pobox.com>
Wed, 24 Oct 2018 01:25:12 +0000
(10:25 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 24 Oct 2018 01:25:12 +0000
(10:25 +0900)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsck.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
05b4ed6
)
diff --git
a/fsck.c
b/fsck.c
index 0f56977d6aa6499c06e31eddb8ed4afe484fcdc4..d44c46c5275b137880b0d02da51024553feefe1b 100644
(file)
--- a/
fsck.c
+++ b/
fsck.c
@@
-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)