]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-clone.txt
clone: document --filter options
authorDerrick Stolee <dstolee@microsoft.com>
Sun, 22 Mar 2020 19:50:06 +0000 (19:50 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Mar 2020 23:38:30 +0000 (16:38 -0700)
commit4a465443a6ce51bd6e1d4ffef56d3f2e8d45f506
tree6d73e20db32f42bd49d6a8659efb1065c5ef86a2
parent55a75686061148ea0f9b448cf6e8b0596599eff2
clone: document --filter options

It turns out that the "--filter=<filter-spec>" option is not
documented anywhere in the "git clone" page, and instead is
detailed carefully in "git rev-list" where it serves a
different purpose.

Add a small bit about this option in the documentation. It
would be worth some time to create a subsection in the "git clone"
documentation about partial clone as a concept and how it can be
a surprising experience. For example, "git checkout" will likely
trigger a pack download.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-clone.txt