diff options
| author | Meet Soni <meetsoni3017@gmail.com> | 2025-09-19 13:56:47 +0530 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-19 10:02:56 -0700 |
| commit | c44afd67d2bcfc2958e7cc79d7064ab5fcfa468a (patch) | |
| tree | cde601b3c4e772168e245d907f56248b0634b984 /git-gui/lib/win32_shortcut.js | |
| parent | ac0bad0af488aa25ffb2363f79b7e5728fd0cf97 (diff) | |
t: add test for git refs optimize subcommand
Add a test script, `t/t1463-refs-optimize.sh`, for the new `git refs
optimize` command.
This script acts as a simple driver, leveraging the shared test library
created in the preceding commit. It works by overriding the
`$pack_refs` variable to "refs optimize" and then sourcing the
shared library (`t/pack-refs-tests.sh`).
This approach ensures that `git refs optimize` is tested against the
entire comprehensive test suite of `git pack-refs`, verifying
that it acts as a compatible drop-in replacement.
Mentored-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: shejialuo <shejialuo@gmail.com>
Signed-off-by: Meet Soni <meetsoni3017@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/win32_shortcut.js')
0 files changed, 0 insertions, 0 deletions
