From: Elijah Newren Date: Fri, 22 Apr 2022 02:30:08 GMT Subject: Re: [PATCH v2 7/9] git-sparse-checkout.txt: flesh out non-cone mode pattern discussion a bit Message-ID: In-Reply-To: On Mon, Mar 14, 2022 at 1:57 PM Junio C Hamano wrote: > > "Elijah Newren via GitGitGadget" 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.