• Show log

    Commit

  • Hash : 275f103d
    Author : Patrick Steinhardt
    Date : 2018-01-12T08:59:40

    odb: reject reading and writing null OIDs
    
    The null OID (hash with all zeroes) indicates a missing object in
    upstream git and is thus not a valid object ID. Add defensive
    measurements to avoid writing such a hash to the object database in the
    very unlikely case where some data results in the null OID. Furthermore,
    add shortcuts when reading the null OID from the ODB to avoid ever
    returning an object when a faulty repository may contain the null OID.