Re: [PATCH v3 2/3] sparse-checkout: custom tab completion
- From
Elijah Newren <newren@gmail.com>
- Date
- Jan 18, 2022, 21:43 UTC
- Message-ID
- <CABPp-BE=UTRnhSDugE46XqsEwMd9UWivAL76VTMzJygy4a3N6Q@mail.gmail.com>
- In-Reply-To
- <20220118210205.GA2632@szeder.dev>
On Tue, Jan 18, 2022 at 1:02 PM SZEDER Gábor <szeder.dev@gmail.com> wrote:
Show 9 quoted lines
>
> On Mon, Jan 17, 2022 at 10:14:58AM -0800, Elijah Newren wrote:
> > the
> > documentation never explicitly states files are acceptable to
> > sparse-checkout {set,add}. It always mentions "directories" and
> > "patterns".
>
> The "Full Pattern Set" section of the manpage does in fact explicitly
> states that files are supported.Not sure it matters since Junio has stated his position pretty strongly, making it irrelevant at this point, but.... I'm not sure I'm following you. Is this the quote you're referring to?
""" While $GIT_DIR/info/sparse-checkout is usually used to specify what files are included, """
If so,
/foo[A-M]*/pref?x_*.c
could be an entry in the file "used to specify what files are
included", but it's not a file. The two example lines immediately
following aren't filenames either (though the '!'-prefixed line is
close). Or are you referring to something else?