From: Junio C Hamano Date: Wed, 21 Dec 2005 20:09:17 +0000 (-0800) Subject: objects/info/packs: work around bug in http-fetch.c::fetch_indices() X-Git-Tag: v1.0.0a~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=21b1aced83195af50fd8bc9a88e7734c8ee77c0e;p=git.git objects/info/packs: work around bug in http-fetch.c::fetch_indices() The code to fetch pack index files in deployed clients have a bug that causes it to ignore the pack file on the last line of objects/info/packs file, so append an empty line to work it around. Signed-off-by: Junio C Hamano --- diff --git a/server-info.c b/server-info.c index df19e49b5..608976594 100644 --- a/server-info.c +++ b/server-info.c @@ -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)