[PATCH 0/5] add-ons for ps/leakfixes
- From
Jeff King <peff@peff.net>
- Date
- May 30, 2024, 06:38 UTC
- Message-ID
- <20240530063857.GA1942535@coredump.intra.peff.net>
- In-Reply-To
- <cover.1716810168.git.ps@pks.im>
Here are a few patches to go on top of ps/leakfixes. Patches 1 and 3 fix functional problems noticed by Coverity, and then the others are just cleanups I noticed while there.
[1/5]: t-strvec: use va_end() to match va_start() [2/5]: t-strvec: mark variable-arg helper with LAST_ARG_MUST_BE_NULL [3/5]: mv: move src_dir cleanup to end of cmd_mv() [4/5]: mv: factor out empty src_dir removal [5/5]: mv: replace src_dir with a strvec
builtin/mv.c | 50 +++++++++++++++++++++-------------------- t/unit-tests/t-strvec.c | 3 +++ 2 files changed, 29 insertions(+), 24 deletions(-)
-Peff