Commit 49397104 authored by Linus Torvalds's avatar Linus Torvalds

git-pack-objects: fix typo

("<" should be "=")
parent c323ac7d
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment