Re: [PATCH v2 7/9] git-sparse-checkout.txt: flesh out non-cone mode pattern discussion a bit
- From
Elijah Newren <newren@gmail.com>
- Date
- Apr 22, 2022, 02:30 UTC
- Message-ID
- <CABPp-BE6bFsdSs1j4_M7T1EisT6vQOOoTPeRU8GJKprRqqeedw@mail.gmail.com>
- In-Reply-To
- <xmqqo828p7zt.fsf@gitster.g>
On Mon, Mar 14, 2022 at 1:57 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 18 quoted lines
> > "Elijah Newren via GitGitGadget" <gitgitgadget@gmail.com> writes: > > > INTERNALS -- FULL PATTERN SET > > ----------------------------- > > > > -By default, the sparse-checkout file uses the same syntax as `.gitignore` > > -files. > > - > > -While `$GIT_DIR/info/sparse-checkout` is usually used to specify what > > -files are included, you can also specify what files are _not_ included, > > -using negative patterns. For example, to remove the file `unwanted`: > > +As noted above, the sparse-checkout file uses the same syntax as > > +`.gitignore` files; see linkgit:gitignore[5] for details. Here, > > Here, following the suggestion to fix the early part of "Cone mode > patterns" section, move the "it is more flexible but requires more > cycles to process" you had there to replace the "As noted above".
Makes sense; I'll restructure it with this and some of the other modifications you mentioned earlier to simplify the cone mode discussion.