Re: [PATCH v2] worktree: add -z option for list subcommand
- From
- Phillip Wood <phillip.wood123@gmail.com>
- Date
- Apr 4, 2022, 15:47 UTC
- Message-ID
- <d0622cca-245a-ac98-cc96-201a9c28c3cb@gmail.com>
- In-Reply-To
- <xmqqk0c926zf.fsf@gitster.g>
Hi Junio
On 31/03/2022 21:37, Junio C Hamano wrote:
> "Phillip Wood via GitGitGadget" <gitgitgadget@gmail.com> writes:
>
Show 5 quoted lines
> It also made me wonder if "-z" alone should be made to imply > "--porcelain" (in other words, is there a good reason to ask for > NUL-terminated output when you are producing a human-readable > output?), but we can start stricter like this patch does; we can > later loosen it if needed.
That's a good point about "-z" implying "--porcelain" we do something similar for "git status -z" I think.
Best Wishes
Phillip