Skip to content
  • Jeff King's avatar
    http: use struct object_id instead of bare sha1 · f0be0db1
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    The dumb-http walker code still passes around and stores object ids as
    "unsigned char *sha1". Let's modernize it.
    
    There's probably still more work to be done to handle dumb-http fetches
    with a new, larger hash. But that can wait; this is enough that we can
    now convert some of the low-level object routines that we call into from
    here (and in fact, some of the "oid.hash" references added here will be
    further improved in the next patch).
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    f0be0db1