Re: [PATCH] ls-files: add %(skipworktree) atom to format option
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 12, 2023, 19:58 UTC
- Message-ID
- <xmqqwn5rseyd.fsf@gitster.g>
- In-Reply-To
- <CABPp-BGsD=6PiJtnsuYPsiZJ1rm2X8yTeu-YeP4q5uu5UDw2og@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
Show 12 quoted lines
> Given my above comments, I personally don't buy this as justification > for adding a new way of reporting on the skip-worktree bit. It may > still make sense to add this feature or something like it, but I > personally think it deserves separate justification from "`ls-files > -t` is semi-deprecated". > ... > To be honest, I don't yet see any compelling reason to use this new > option. Even if this patch is accepted, I'd just continue using "git > ls-files -t" (both directly and in scripts) in preference to this. > However, you have inspired me to try to fix up the ls-files > documentation and remove the "semi-deprecated" label for the -t > option.
Thanks. I think that would be the better way forward between the two (i.e. adding this one-shot new feature vs resurrecting -t).