git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] Slightly simplify partial clone user experience

From
Derrick Stolee via GitGitGadget <gitgitgadget@gmail.com>
Date
Mar 19, 2020, 17:28 UTC
Message-ID
<pull.586.git.1584638887.gitgitgadget@gmail.com>

This was something discussed briefly at the contributor summit: users will have a hard time remembering git clone --filter=blob:none <url>. This series simply adds a --partial option that is equivalent to --filter=blob:none, with the ability to specify a size using --partial=<size> that is equivalent to --filter=blob:limit=<size>.

While going to the git clone documentation to add this option, I noticed that there is no reference to the --filter option there, nor any discussion of partial clone. I resolved the former.

REQUEST FOR HELP: If anyone out there is looking for an opportunity to contribute documentation, I feel there is a need to include a section in the git clone documentation devoted to partial clone. Hopefully such a section would include answers to these questions:

 1. What is a partial clone?
 2. Why would I want a partial clone?
 3. How do I need to be careful when using a partial clone?

I don't have time to write such a document right now, which is why I'm asking for help if anyone is looking for a non-code way to contribute to the project.

Thanks, -Stolee
Derrick Stolee (2):
  partial-clone: set default filter with --partial
  clone: document --partial and --filter options
 Documentation/git-clone.txt   | 15 ++++++++++++-
 list-objects-filter-options.c | 18 +++++++++++++++
 list-objects-filter-options.h |  8 ++++++-
 t/t5616-partial-clone.sh      | 42 ++++++++++++++++++++++++++---------
 4 files changed, 71 insertions(+), 12 deletions(-)
base-commit: 6c85aac65fb455af85745130ce35ddae4678db84
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-586%2Fderrickstolee%2Fpartial-clone-ux-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-586/derrickstolee/partial-clone-ux-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/586
-- 
gitgitgadget
Next: Derrick Stolee via GitGitGadget
Message 1 of 15 in “Slightly simplify partial clone user experience”
  1. 0/2 Slightly simplify partial clone user experienceDerrick Stolee via GitGitGadget, Mar 19, 2020
  2. 1/2 partial-clone: set default filter with --partialDerrick Stolee via GitGitGadget, Mar 19, 2020
  3. Junio C HamanoMar 20, 2020
  4. Derrick StoleeMar 20, 2020
  5. Jeff KingMar 22, 2020
  6. 2/2 clone: document --partial and --filter optionsDerrick Stolee via GitGitGadget, Mar 19, 2020
  7. Derrick StoleeMar 20, 2020
  8. Jeff KingMar 22, 2020
  9. Christian CouderMar 22, 2020
  10. Derrick StoleeMar 22, 2020
  11. Jeff KingMar 22, 2020
  12. Taylor BlauMar 22, 2020
  13. clone: document --filter optionsDerrick Stolee via GitGitGadget, Mar 22, 2020
  14. Jeff KingMar 24, 2020
  15. Jonathan NiederMar 24, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.