Re: [PATCH v6 2/4] worktree add: refactor opt exclusion tests
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 29, 2022, 10:07 UTC
- Message-ID
- <xmqqa636mskf.fsf@gitster.g>
- In-Reply-To
- <20221229065142.fmfviwisjmxsey7b@phi>
Jacob Abel <jacobabel@nullpo.dev> writes:
Show 5 quoted lines
> Yes for these particular tests that should be acceptable. I tried putting an > alternative together that still provides an avenue for handling quoted > arguments without the helper [1]. Would this work? > > 1. https://lore.kernel.org/git/20221229063823.ij3jjuaar2fsayju@phi/
Do we even need to handle an argument with $IFS whitespaces in it in these tests?
If not, using "$@" where we pass the args to the commands we run, and using "$*" where we merely use it for human readable messages, would be sufficient.