objects/info/packs: work around bug in http-fetch.c::fetch_indices()
[git/git.git] / server-info.c
index df19e49..6089765 100644 (file)
@@ -200,6 +200,7 @@ static void write_pack_info_file(FILE *fp)
        int i;
        for (i = 0; i < num_pack; i++)
                fprintf(fp, "P %s\n", info[i]->p->pack_name + objdirlen + 6);
+       fputc('\n', fp);
 }
 
 static int update_info_packs(int force)