提交 49397104 编写于 作者: L Linus Torvalds

git-pack-objects: fix typo

("<" should be "=")
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册