]> git.ipfire.org Git - thirdparty/git.git/commit
git-sparse-checkout.txt: flesh out pattern set sections a bit
authorElijah Newren <newren@gmail.com>
Fri, 22 Apr 2022 02:32:24 +0000 (02:32 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Apr 2022 06:12:38 +0000 (23:12 -0700)
commit72fa58ef50e8f7fcc1b992168785219726fb162e
treef66bf7f49c5529743c4c6a346a42c6aab81823d2
parent5d295dc39606990688766916a2bcf93dc0efb61b
git-sparse-checkout.txt: flesh out pattern set sections a bit

The "Internals -- Cone Pattern Set" section starts off discussing
patterns, despite the fact that cone mode is about avoiding the
patterns.  This made sense back when non-cone mode was the default and
we started by discussing the full pattern set, but now that we are
changing the default, it makes more sense to discuss cone-mode first and
avoid the full discussion of patterns.  Split this section into two, the
first with details about how cone mode operates, and the second
following the full pattern set section and discussing how the cone mode
patterns used under the hood relate to the full pattern set.

While at it, flesh out the "Internals -- Full Pattern Set" section a bit
to include more examples as well.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-sparse-checkout.txt