Merge branch 'jt/connectivity-check-after-unshallow'
[git/git.git] / remote.c
index 539285f..3fd4345 100644 (file)
--- a/remote.c
+++ b/remote.c
@@ -1736,6 +1736,7 @@ int get_fetch_map(const struct ref *remote_refs,
                if (refspec->exact_sha1) {
                        ref_map = alloc_ref(name);
                        get_oid_hex(name, &ref_map->old_oid);
+                       ref_map->exact_oid = 1;
                } else {
                        ref_map = get_remote_ref(remote_refs, name);
                }