We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dfb90a commit ae2bfbbCopy full SHA for ae2bfbb
builtin/fetch.c
@@ -1147,6 +1147,13 @@ static int store_updated_refs(struct display_state *display_state,
1147
1148
opt.exclude_hidden_refs_section = "fetch";
1149
rm = ref_map;
1150
+
1151
+ /*
1152
+ * Before checking connectivity, be really sure we have the
1153
+ * latest pack-files loaded into memory.
1154
+ */
1155
+ reprepare_packed_git(the_repository);
1156
1157
if (check_connected(iterate_ref_map, &rm, &opt)) {
1158
rc = error(_("%s did not send all necessary objects\n"),
1159
display_state->url);
0 commit comments