Merge branch 'sb/diff-color-move-more'
[gitweb.git] / remote.c
index 539285fbdf015141bbacf7a730b9fad0cacbf842..3fd43453f4d6dffad22f16ea6b54c5a37455dd26 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);
                }