Code

revision --boundary: fix stupid typo
authorJunio C Hamano <junkio@cox.net>
Tue, 6 Mar 2007 11:00:18 +0000 (03:00 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 6 Mar 2007 11:00:18 +0000 (03:00 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
revision.c

index 35a171105a28ce10fdef58c46efdd73cd113dd50..f48d7f788a80cf628af691c1f81cd9dc431343a7 100644 (file)
@@ -1247,7 +1247,7 @@ static void gc_boundary(struct object_array *array)
                                objects[j] = objects[i];
                        j++;
                }
-               for (i = j; j < nr; j++)
+               for (i = j; i < nr; i++)
                        objects[i].item = NULL;
                array->nr = j;
        }