summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-03-06 03:00:18 -0800
committerJunio C Hamano <junkio@cox.net>2007-03-06 03:00:18 -0800
commit892ae6bf13d3811f36e6fe65c4ff85841e1c4f14 (patch)
treef84f8c336d986f2ea87564e506b5cf171f06b3db /revision.c
parent80e25ceece17fd575735c40dc923086154402cbe (diff)
downloadgit-892ae6bf13d3811f36e6fe65c4ff85841e1c4f14.tar.gz
revision --boundary: fix stupid typo
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index 35a171105a..f48d7f788a 100644
--- a/revision.c
+++ b/revision.c
@@ -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;
}