summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e449f10)
raw | patch | inline | side by side (parent: e449f10)
author | Johan Herland <johan@herland.net> | |
Sun, 15 Jun 2008 14:04:20 +0000 (16:04 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 19 Jun 2008 22:53:13 +0000 (15:53 -0700) |
Immediately after fetching a pack, we should call reprepare_packed_git() to
make sure the objects in the pack are reachable. Otherwise, we will fail to
look up objects that are present only in the fetched pack.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
make sure the objects in the pack are reachable. Otherwise, we will fail to
look up objects that are present only in the fetched pack.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch-pack.c | patch | blob | history |
diff --git a/builtin-fetch-pack.c b/builtin-fetch-pack.c
index de1e8d1365769c7c841749901f705c0b6a78eab3..f4dbcf069ee8e5226d52c9c2194a8ed20ed65a34 100644 (file)
--- a/builtin-fetch-pack.c
+++ b/builtin-fetch-pack.c
}
}
+ reprepare_packed_git();
return ref_cpy;
}