summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2017-12-05 16:50:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-12-05 17:44:36 (GMT)
commit4875c9791e787af07992d3ba30061885322b7d11 (patch)
tree0f8136c4e7c50d7120dc9548af8d5fa755777735 /Documentation
parent1dde5fa2b254663b3944053c67e45a1903682a80 (diff)
downloadgit-4875c9791e787af07992d3ba30061885322b7d11.zip
git-4875c9791e787af07992d3ba30061885322b7d11.tar.gz
git-4875c9791e787af07992d3ba30061885322b7d11.tar.bz2
list-objects-filter-options: support --no-filter
Teach opt_parse_list_objects_filter() to take --no-filter option and to free the contents of struct filter_options. This command line argument will be automatically inherited by commands using OPT_PARSE_LIST_OBJECTS_FILTER(); this includes pack-objects. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-pack-objects.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index b924c6c..aa403d0 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -242,6 +242,9 @@ So does `git bundle` (see linkgit:git-bundle[1]) when it creates a bundle.
the resulting packfile. See linkgit:git-rev-list[1] for valid
`<filter-spec>` forms.
+--no-filter::
+ Turns off any previous `--filter=` argument.
+
--missing=<missing-action>::
A debug option to help with future "partial clone" development.
This option specifies how missing objects are handled.