git-pack-objects: fix typo
("<" should be "=")
This commit is contained in:
@@ -172,7 +172,7 @@ static void write_index_file(void)
|
|||||||
* Write the actual SHA1 entries..
|
* Write the actual SHA1 entries..
|
||||||
*/
|
*/
|
||||||
list = sorted_by_sha;
|
list = sorted_by_sha;
|
||||||
for (i < 0; i < nr_objects; i++) {
|
for (i = 0; i < nr_objects; i++) {
|
||||||
struct object_entry *entry = *list++;
|
struct object_entry *entry = *list++;
|
||||||
unsigned int offset = htonl(entry->offset);
|
unsigned int offset = htonl(entry->offset);
|
||||||
fwrite(&offset, 4, 1, f);
|
fwrite(&offset, 4, 1, f);
|
||||||
|
|||||||
Reference in New Issue
Block a user