From: Jeff Hostetler Date: Thu, 13 Jul 2017 17:34:52 GMT Subject: [PATCH v2 12/19] pack-objects: add filtering help text Message-ID: <20170713173459.3559-13-git@jeffhostetler.com> In-Reply-To: <20170713173459.3559-1-git@jeffhostetler.com> From: Jeff Hostetler Update pack-objects help text to describe object filtering. Signed-off-by: Jeff Hostetler --- Documentation/git-pack-objects.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt index 8973510..084641f 100644 --- a/Documentation/git-pack-objects.txt +++ b/Documentation/git-pack-objects.txt @@ -231,6 +231,20 @@ So does `git bundle` (see linkgit:git-bundle[1]) when it creates a bundle. With this option, parents that are hidden by grafts are packed nevertheless. +--filter-omit-all-blobs:: + Omits all blobs from the packfile. This option requires --stdout. + +--filter-omit-large-blobs=[kmg]:: + Omits blobs larger than n bytes from packfile. May optionally be + followed by 'k', 'm', or 'g' units. Value may be zero. Special + files (matching ".git*") are always included, regardless of size. + This option requires --stdout. + +--filter-use-sparse=:: + Uses a sparse-checkout specification given by to filter + the result by omitting blobs that would not be used by the + corresponding sparse checkout. This option requires --stdout. + SEE ALSO -------- linkgit:git-rev-list[1] -- 2.9.3