From: Jeff Hostetler Date: Tue, 05 Dec 2017 17:02:47 GMT Subject: [PATCH v6 07/14] fixup: fetch: update error messages from --blob-max-bytes to --filter Message-ID: <20171205170254.65293-8-git@jeffhostetler.com> In-Reply-To: <20171205170254.65293-1-git@jeffhostetler.com> From: Jeff Hostetler Signed-off-by: Jeff Hostetler --- builtin/fetch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builtin/fetch.c b/builtin/fetch.c index 05d0b1a..14aab71 100644 --- a/builtin/fetch.c +++ b/builtin/fetch.c @@ -1372,7 +1372,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix) deepen = 1; if (filter_options.choice && !repository_format_partial_clone) - die("--blob-max-bytes can only be used when extensions.partialClone is set"); + die("--filter can only be used when extensions.partialClone is set"); if (all) { if (argc == 1) @@ -1406,11 +1406,11 @@ int cmd_fetch(int argc, const char **argv, const char *prefix) if (remote) { if (filter_options.choice && strcmp(remote->name, repository_format_partial_clone)) - die(_("--blob-max-bytes can only be used with the remote configured in core.partialClone")); + die(_("--filter can only be used with the remote configured in core.partialClone")); result = fetch_one(remote, argc, argv); } else { if (filter_options.choice) - die(_("--blob-max-bytes can only be used with the remote configured in core.partialClone")); + die(_("--filter can only be used with the remote configured in core.partialClone")); result = fetch_multiple(&list); } -- 2.9.3