summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@google.com>2021-05-31 16:56:17 +0000
committerJunio C Hamano <gitster@pobox.com>2021-06-02 10:01:54 +0900
commit0221eb86782bdd2cbbe9d6223d7ac9bcb61961b1 (patch)
tree373491f064fdbea4de26dad5789b5bd954d90fba /t/t4013/diff.diff_initial..side
parent230356ba704fc36e848e94b13c5b92acfa4c6fc6 (diff)
t/helper/ref-store: initialize oid in resolve-ref
This will print $ZERO_OID when asking for a non-existent ref from the test-helper. Since resolve-ref provides direct access to refs_resolve_ref_unsafe(), it provides a reliable mechanism for accessing REFNAME, while avoiding the implicit resolution to refs/heads/REFNAME. Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions