mirror of
https://github.com/git/git.git
synced 2024-11-30 21:44:02 +08:00
Merge branch 'ds/check-connected-reprepare-packed-git'
Corner case "git fetch" fix. * ds/check-connected-reprepare-packed-git: connected.c: reprepare packs for corner cases
This commit is contained in:
commit
4cd9bb45c7
@ -61,7 +61,11 @@ int check_connected(oid_iterate_fn fn, void *cb_data,
|
||||
* object is a promisor object. Instead, just make sure we
|
||||
* received, in a promisor packfile, the objects pointed to by
|
||||
* each wanted ref.
|
||||
*
|
||||
* Before checking for promisor packs, be sure we have the
|
||||
* latest pack-files loaded into memory.
|
||||
*/
|
||||
reprepare_packed_git(the_repository);
|
||||
do {
|
||||
struct packed_git *p;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user