diff options
author | Meet Soni <meetsoni3017@gmail.com> | 2025-08-05 14:57:58 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-08-05 09:11:55 -0700 |
commit | fed66d91c0fce8a1911b24ad79ed9f10d411874e (patch) | |
tree | 937dd150664ce191a7a2a031a950dd986c092383 /merge-blobs.c | |
parent | aa91c5c57013bdeca7b58ee5044bf667a4757978 (diff) |
t: add test for git refs list subcommand
Add a test script, `t/t1461-refs-list.sh`, for the new `git refs list`
command.
This script acts as a simple driver, leveraging the shared test library
created in the preceding commit. It works by overriding the
`$git_for_each_ref` variable to "git refs list" and then sourcing the
shared library (`t/for-each-ref-tests.sh`).
This approach ensures that `git refs list` is tested against the
entire comprehensive test suite of `git for-each-ref`, verifying
that it acts as a compatible drop-in replacement.
Mentored-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: shejialuo <shejialuo@gmail.com>
Mentored-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Meet Soni <meetsoni3017@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-blobs.c')
0 files changed, 0 insertions, 0 deletions