diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-21 12:09:17 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-21 12:13:52 -0800 |
commit | 21b1aced83195af50fd8bc9a88e7734c8ee77c0e (patch) | |
tree | bff71bb6c5f485dcf7783a6306f585c9b1e649e8 | |
parent | c2f3bf071ee90b01f2d629921bb04c4f798f02fa (diff) | |
download | git-21b1aced83195af50fd8bc9a88e7734c8ee77c0e.tar.gz git-21b1aced83195af50fd8bc9a88e7734c8ee77c0e.tar.xz |
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 <junkio@cox.net>
-rw-r--r-- | server-info.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |