From: Linus Torvalds Date: Sat, 25 Jun 2005 22:24:30 +0000 (-0700) Subject: git-pack-objects: fix typo X-Git-Tag: v0.99~190 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=49397104f2317c91ac54a250cd8c65cacfc0bb9e;p=git.git git-pack-objects: fix typo ("<" should be "=") --- diff --git a/pack-objects.c b/pack-objects.c index 322c4bc3e..9a468bd9f 100644 --- a/pack-objects.c +++ b/pack-objects.c @@ -172,7 +172,7 @@ static void write_index_file(void) * Write the actual SHA1 entries.. */ list = sorted_by_sha; - for (i < 0; i < nr_objects; i++) { + for (i = 0; i < nr_objects; i++) { struct object_entry *entry = *list++; unsigned int offset = htonl(entry->offset); fwrite(&offset, 4, 1, f);