summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cef19c7)
raw | patch | inline | side by side (parent: cef19c7)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 25 Feb 2007 09:24:34 +0000 (01:24 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 25 Feb 2007 09:28:44 +0000 (01:28 -0800) |
The code forgot to take the for (;;) loop control into account,
incrementing the index once too many.
Signed-off-by: Junio C Hamano <junkio@cox.net>
incrementing the index once too many.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-rerere.c | patch | blob | history |
diff --git a/builtin-rerere.c b/builtin-rerere.c
index 318d959d89669f09e12b1b97ca62f100e1a58ecd..ac0bf335a8c82fa4a6d1f83515a72c10a5b4d98c 100644 (file)
--- a/builtin-rerere.c
+++ b/builtin-rerere.c
ce_stage(e3) == 3 && ce_same_name(e1, e2) &&
ce_same_name(e1, e3)) {
path_list_insert((const char *)e1->name, conflict);
- i += 3;
+ i += 2;
}
}
return 0;