date.c: abort if the system time cannot handle one of our timestamps
[gitweb.git] / remote-curl.c
index e953d06f66a5993b9f1a0039920c71a90afa5bc9..d41fe16ff320e889820a6cb04ad941770415c6d2 100644 (file)
@@ -167,7 +167,7 @@ struct discovery {
        char *buf;
        size_t len;
        struct ref *refs;
-       struct sha1_array shallow;
+       struct oid_array shallow;
        unsigned proto_git : 1;
 };
 static struct discovery *last_discovery;
@@ -234,7 +234,7 @@ static void free_discovery(struct discovery *d)
        if (d) {
                if (d == last_discovery)
                        last_discovery = NULL;
-               free(d->shallow.sha1);
+               free(d->shallow.oid);
                free(d->buf_alloc);
                free_refs(d->refs);
                free(d);