summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-01-29 20:47:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-29 20:47:53 (GMT)
commit61c51acf7d2e01b968745aaa53de877135be28ec (patch)
treefd296dc7b0209c146ddaacc5380673398d32326b
parente6dc1ea0591e013aeb5d1e1d5d59aca693ab1e06 (diff)
parente01378753d42de16e03dc378c9848b22dfa1dd4f (diff)
downloadgit-61c51acf7d2e01b968745aaa53de877135be28ec.zip
git-61c51acf7d2e01b968745aaa53de877135be28ec.tar.gz
git-61c51acf7d2e01b968745aaa53de877135be28ec.tar.bz2
Merge branch 'cc/fetch-error-message-fix'
Error message fix. * cc/fetch-error-message-fix: fetch: fix extensions.partialclone name in error message
-rw-r--r--builtin/fetch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/builtin/fetch.c b/builtin/fetch.c
index e014032..c0ade48 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -1478,7 +1478,8 @@ static inline void fetch_one_setup_partial(struct remote *remote)
*/
if (strcmp(remote->name, repository_format_partial_clone)) {
if (filter_options.choice)
- die(_("--filter can only be used with the remote configured in core.partialClone"));
+ die(_("--filter can only be used with the remote "
+ "configured in extensions.partialclone"));
return;
}
@@ -1646,7 +1647,8 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
result = fetch_one(remote, argc, argv, prune_tags_ok);
} else {
if (filter_options.choice)
- die(_("--filter can only be used with the remote configured in core.partialClone"));
+ die(_("--filter can only be used with the remote "
+ "configured in extensions.partialclone"));
/* TODO should this also die if we have a previous partial-clone? */
result = fetch_multiple(&list);
}