Skip to content

Commit bdc997d

Browse files
committed
pack-objects: add filtering help text
Add help text for new object filtering options to pack-objects documentation. Signed-off-by: Jeff Hostetler <[email protected]>
1 parent c3958ba commit bdc997d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Documentation/git-pack-objects.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,23 @@ So does `git bundle` (see linkgit:git-bundle[1]) when it creates a bundle.
236236
With this option, parents that are hidden by grafts are packed
237237
nevertheless.
238238

239+
--filter-omit-all-blobs::
240+
Requires `--stdout`. Omits all blobs from the packfile.
241+
242+
--filter-omit-large-blobs=<n>[kmg]::
243+
Requires `--stdout`. Omits large blobs larger than n bytes from
244+
the packfile. May optionally be followed by 'k', 'm', or 'g' units.
245+
Value may be zero. Special files (matching ".git*") are always
246+
included, regardless of size.
247+
248+
--filter-use-blob=<blob-ish>::
249+
--filter-use-path=<path>::
250+
Requires `--stdout`. Use a sparse-checkout specification to
251+
filter the resulting packfile to only contain the blobs that
252+
would be referenced by such a sparse-checkout. `<path>` specifies
253+
a local pathname. `<blob-ish>` specifies an expression that can
254+
be evaluated to a blob.
255+
239256
SEE ALSO
240257
--------
241258
linkgit:git-rev-list[1]

0 commit comments

Comments
 (0)