From: SZEDER Gábor Date: Tue, 19 Nov 2019 22:51:33 GMT Subject: Re: [PATCH v5 01/17] sparse-checkout: create builtin with 'list' subcommand Message-ID: <20191119225133.GO23183@szeder.dev> In-Reply-To: <55c306a73a5e100b56b184c1ce5428c1259cfc2a.1571666186.git.gitgitgadget@gmail.com> On Mon, Oct 21, 2019 at 01:56:10PM +0000, Derrick Stolee via GitGitGadget wrote: > diff --git a/Documentation/git-sparse-checkout.txt b/Documentation/git-sparse-checkout.txt > new file mode 100644 > index 0000000000..9d6ca22917 > --- /dev/null > +++ b/Documentation/git-sparse-checkout.txt > @@ -0,0 +1,89 @@ > +git-sparse-checkout(1) > +====================== > + > +NAME > +---- > +git-sparse-checkout - Initialize and modify the sparse-checkout > +configuration, which reduces the checkout to a set of directories s/directories/paths/ > +given by a list of prefixes. s/prefixes/patterns/ E.g. 'README' is a file, not a directory, and it's not interpreted as a prefix: $ git sparse-checkout set README $ find | grep README ./README ./Documentation/ABI/README ./Documentation/virt/kvm/devices/README ./arch/m68k/fpsp040/README [...] > +SYNOPSIS > +-------- > +[verse] > +'git sparse-checkout [options]' > + > + > +DESCRIPTION > +----------- > + > +Initialize and modify the sparse-checkout configuration, which reduces > +the checkout to a set of directories given by a list of prefixes. Likewise.