summaryrefslogtreecommitdiff
path: root/t/t4209-log-pickaxe.sh
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2021-05-31 16:56:17 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-06-02 10:01:54 +0900
commit0221eb86782bdd2cbbe9d6223d7ac9bcb61961b1 (patch)
tree373491f064fdbea4de26dad5789b5bd954d90fba /t/t4209-log-pickaxe.sh
parentt4202: split testcase for invalid HEAD symref and HEAD hash (diff)
downloadtgif-0221eb86782bdd2cbbe9d6223d7ac9bcb61961b1.tar.xz
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/t4209-log-pickaxe.sh')
0 files changed, 0 insertions, 0 deletions