aboutsummaryrefslogtreecommitdiff
path: root/fetch-object.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-15 15:08:28 -0700
committerJunio C Hamano <gitster@pobox.com>2018-08-15 15:08:28 -0700
commitb160b6e69d5e8231cf71b3bcacef63443849d1f9 (patch)
treea9d7d4cd00f10d1b4545b3fa3596bcd24f7c907c /fetch-object.c
parent6be44b59fc5e957b9d6e25b32b0fc38c45d50f3f (diff)
parente2842b39f4168e3cd39a53961c1e50bb940eedf1 (diff)
downloadgit-b160b6e69d5e8231cf71b3bcacef63443849d1f9.tar.xz
Merge branch 'jt/connectivity-check-after-unshallow'
"git fetch" sometimes failed to update the remote-tracking refs, which has been corrected. * jt/connectivity-check-after-unshallow: fetch-pack: unify ref in and out param
Diffstat (limited to 'fetch-object.c')
-rw-r--r--fetch-object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-object.c b/fetch-object.c
index 48fe63dd6c..853624f811 100644
--- a/fetch-object.c
+++ b/fetch-object.c
@@ -19,7 +19,7 @@ static void fetch_refs(const char *remote_name, struct ref *ref)
transport_set_option(transport, TRANS_OPT_FROM_PROMISOR, "1");
transport_set_option(transport, TRANS_OPT_NO_DEPENDENTS, "1");
- transport_fetch_refs(transport, ref, NULL);
+ transport_fetch_refs(transport, ref);
fetch_if_missing = original_fetch_if_missing;
}