aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/fetch-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-04-03 15:03:05 -0700
committerJunio C Hamano <gitster@pobox.com>2022-04-03 15:03:05 -0700
commit1e2574e5854e989f17d44f505f73278455b28eeb (patch)
tree6d119a7ce6b96849436fda023e5980d2ce8c6a24 /builtin/fetch-pack.c
parentThe 14th batch (diff)
parentpack-objects: lazily set up "struct rev_info", don't leak (diff)
downloadgit-1e2574e5854e989f17d44f505f73278455b28eeb.tar.gz
git-1e2574e5854e989f17d44f505f73278455b28eeb.zip
Merge branch 'ds/partial-bundle-more' into ab/plug-leak-in-revisions
* ds/partial-bundle-more: pack-objects: lazily set up "struct rev_info", don't leak bundle: output hash information in 'verify' bundle: move capabilities to end of 'verify' pack-objects: parse --filter directly into revs.filter pack-objects: move revs out of get_object_list() list-objects-filter: remove CL_ARG__FILTER
Diffstat (limited to 'builtin/fetch-pack.c')
-rw-r--r--builtin/fetch-pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/fetch-pack.c b/builtin/fetch-pack.c
index c2d96f4c89..c4b9104f9b 100644
--- a/builtin/fetch-pack.c
+++ b/builtin/fetch-pack.c
@@ -153,11 +153,11 @@ int cmd_fetch_pack(int argc, const char **argv, const char *prefix)
args.from_promisor = 1;
continue;
}
- if (skip_prefix(arg, ("--" CL_ARG__FILTER "="), &arg)) {
+ if (skip_prefix(arg, ("--filter="), &arg)) {
parse_list_objects_filter(&args.filter_options, arg);
continue;
}
- if (!strcmp(arg, ("--no-" CL_ARG__FILTER))) {
+ if (!strcmp(arg, ("--no-filter"))) {
list_objects_filter_set_no_filter(&args.filter_options);
continue;
}