Eric Sunshine <sunshine@xxxxxxxxxxxxxx> writes: > On Mon, Aug 10, 2020 at 7:09 PM Raymond E. Pasco <ray@xxxxxxxxxxxx> wrote: >> More rigidly, it's nice to confirm that it's a diff from the empty blob >> and not from some other random blob. > > The tests can get access to the correct OID of the empty blob without > hardcoding it either via $(test_oid empty_blob) or just as > $EMPTY_BLOB, however, that's the full length hex string, so you'd > still need to do some tweaking. If the tests do truly care about these exact objects, then using "--full-index" would be a good way to compare with $EMPTY_BLOB and/or $ZERO_OID and such.