summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/remote.c b/remote.c
index 26b1fbd9a8..86e6098774 100644
--- a/remote.c
+++ b/remote.c
@@ -1737,6 +1737,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);
}