summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c2f3bf0)
raw | patch | inline | side by side (parent: c2f3bf0)
author | Junio C Hamano <junkio@cox.net> | |
Wed, 21 Dec 2005 20:09:17 +0000 (12:09 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 21 Dec 2005 20:13:52 +0000 (12:13 -0800) |
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>
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>
server-info.c | patch | blob | history |
diff --git a/server-info.c b/server-info.c
index df19e49b5be75f2cc75e24ba6cda0c94631b434d..6089765941f36712ec6ee54e5b1492b8c707917b 100644 (file)
--- a/server-info.c
+++ b/server-info.c
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)