Thread (1 message) 1 message, 1 author, 2020-08-11

Re: [PATCH] t4069: test diff behavior with i-t-a paths

From: Junio C Hamano <hidden>
Date: 2020-08-11 03:29:30

Eric Sunshine [off-list ref] writes:
On Mon, Aug 10, 2020 at 7:09 PM Raymond E. Pasco [off-list ref] wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help