Web lists-archives.com

[PATCH v2 12/19] pack-objects: add filtering help text

From: Jeff Hostetler <jeffhost@xxxxxxxxxxxxx>

Update pack-objects help text to describe object filtering.

Signed-off-by: Jeff Hostetler <jeffhost@xxxxxxxxxxxxx>
 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
+	Omits all blobs from the packfile.  This option requires --stdout.
+	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.
+	Uses a sparse-checkout specification given by <object> to filter
+	the result by omitting blobs that would not be used by the
+	corresponding sparse checkout.  This option requires --stdout.