Re: [PATCH] ls-files: add %(skipworktree) atom to format option
- From
Elijah Newren <newren@gmail.com>
- Date
- Jan 13, 2023, 04:43 UTC
- Message-ID
- <CABPp-BEvK7MFws9=XMfghjo8PgHL6nkiFKmYBiG+218809T2Pw@mail.gmail.com>
- In-Reply-To
- <xmqqwn5rseyd.fsf@gitster.g>
On Thu, Jan 12, 2023 at 11:58 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 18 quoted lines
> > Elijah Newren <newren@gmail.com> writes: > > > 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).
Submitted over here: https://lore.kernel.org/git/pull.1463.git.1673584914.gitgitgadget@gmail.com/