Slightly simplify partial clone user experience
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | partial-clone: set default filter with --partiallist-objects-filter-options.c list-objects-filter-options.h t/ | +57 | 3 replies | |
| 2/2 | clone: document --partial and --filter optionsDocumentation/ | +14 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jonathan Nieder |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Slightly simplify partial clone user experience
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
Signature · 1 line
gitgitgadget