Skip to content

Commit 61c51ac

Browse files
committed
Merge branch 'cc/fetch-error-message-fix'
Error message fix. * cc/fetch-error-message-fix: fetch: fix extensions.partialclone name in error message
2 parents e6dc1ea + e013787 commit 61c51ac

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

builtin/fetch.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,8 @@ static inline void fetch_one_setup_partial(struct remote *remote)
14781478
*/
14791479
if (strcmp(remote->name, repository_format_partial_clone)) {
14801480
if (filter_options.choice)
1481-
die(_("--filter can only be used with the remote configured in core.partialClone"));
1481+
die(_("--filter can only be used with the remote "
1482+
"configured in extensions.partialclone"));
14821483
return;
14831484
}
14841485

@@ -1646,7 +1647,8 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
16461647
result = fetch_one(remote, argc, argv, prune_tags_ok);
16471648
} else {
16481649
if (filter_options.choice)
1649-
die(_("--filter can only be used with the remote configured in core.partialClone"));
1650+
die(_("--filter can only be used with the remote "
1651+
"configured in extensions.partialclone"));
16501652
/* TODO should this also die if we have a previous partial-clone? */
16511653
result = fetch_multiple(&list);
16521654
}

0 commit comments

Comments
 (0)