# [PATCH v7] Partial clone part 1: object filtering

3 messages from 2017-12-14 to 2017-12-14. Participants: Jeff Hostetler, Christian Couder.
Thread: https://gitlist.dev/t/47444

## Jeff Hostetler, 2017-12-14 21:19

Subject: [PATCH v7] Partial clone part 1: object filtering
Message-ID: <20171214211909.55868-1-git@jeffhostetler.com>
URL: https://gitlist.dev/e/20171214211909.55868-1-git%40jeffhostetler.com

```
From: Jeff Hostetler <jeffhost@microsoft.com>

Here is V7 of the list-object filtering, rev-list, and pack-objects.

This is an incremental patch series to be applied on top of the V6
incremental patch which is already in 'next'.

This version fixes some formatting of the help text as suggested
by Christian.

Jeff Hostetler (1):
  fixup: rev-list-options text

 Documentation/rev-list-options.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.9.3


```

## Jeff Hostetler, 2017-12-14 21:19

Subject: [PATCH v7] fixup: rev-list-options text
Message-ID: <20171214211909.55868-2-git@jeffhostetler.com>
URL: https://gitlist.dev/e/20171214211909.55868-2-git%40jeffhostetler.com
In-Reply-To: <20171214211909.55868-1-git@jeffhostetler.com>

```
From: Jeff Hostetler <jeffhost@microsoft.com>

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
---
 Documentation/rev-list-options.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 8d8b7f4..b7237b9 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -714,9 +714,9 @@ ifdef::git-rev-list[]
 +
 The form '--filter=blob:none' omits all blobs.
 +
-The form '--filter=blob:limit=<n>[kmg]' omits blobs larger than n bytes
-or units.  n may be zero.  The suffixes k, m, and g can be used to name
-units in KiB, MiB, or GiB.  For example, 'blob:limit=1k' is the same
+The form '--filter=blob:limit=<n>[kmg]' omits blobs larger than n bytes or
+units.  '<n>' may be zero.  The suffixes 'k', 'm', and 'g' can be used to
+name units in KiB, MiB, or GiB.  For example, 'blob:limit=1k' is the same
 as 'blob:limit=1024'.
 +
 The form '--filter=sparse:oid=<blob-ish>' uses a sparse-checkout
@@ -725,7 +725,7 @@ to omit blobs that would not be not required for a sparse checkout on
 the requested refs.
 +
 The form '--filter=sparse:path=<path>' similarly uses a sparse-checkout
-specification contained in <path>.
+specification contained in '<path>'.
 
 --no-filter::
 	Turn off any previous `--filter=` argument.
-- 
2.9.3


```

## Christian Couder, 2017-12-14 21:36

Subject: Re: [PATCH v7] fixup: rev-list-options text
Message-ID: <CAP8UFD0gE95Oc=BH8KsLTyB6sx_dTZ-Np-i5CbyfGUtm5OzMww@mail.gmail.com>
URL: https://gitlist.dev/e/CAP8UFD0gE95Oc%3DBH8KsLTyB6sx_dTZ-Np-i5CbyfGUtm5OzMww%40mail.gmail.com
In-Reply-To: <20171214211909.55868-2-git@jeffhostetler.com>

```
On Thu, Dec 14, 2017 at 10:19 PM, Jeff Hostetler <git@jeffhostetler.com> wrote:

> --- a/Documentation/rev-list-options.txt
> +++ b/Documentation/rev-list-options.txt
> @@ -714,9 +714,9 @@ ifdef::git-rev-list[]
>  +
>  The form '--filter=blob:none' omits all blobs.
>  +
> -The form '--filter=blob:limit=<n>[kmg]' omits blobs larger than n bytes
> -or units.  n may be zero.  The suffixes k, m, and g can be used to name
> -units in KiB, MiB, or GiB.  For example, 'blob:limit=1k' is the same
> +The form '--filter=blob:limit=<n>[kmg]' omits blobs larger than n bytes or

While at it maybe: s/than n bytes/than '<n>[kmg]' bytes/

> +units.  '<n>' may be zero.  The suffixes 'k', 'm', and 'g' can be used to
> +name units in KiB, MiB, or GiB.  For example, 'blob:limit=1k' is the same
>  as 'blob:limit=1024'.

```
