transport-helper.c: trivial fix of error message

Mark --force as option rather than variable names

Signed-off-by: Alexander Shopov <ash@kambanaria.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Alexander Shopov
2024-02-16 11:15:34 +01:00
committed by Junio C Hamano
parent efb050becb
commit 3a12749b50

View File

@@ -1072,7 +1072,7 @@ static int push_refs_with_export(struct transport *transport,
set_common_push_options(transport, data->name, flags); set_common_push_options(transport, data->name, flags);
if (flags & TRANSPORT_PUSH_FORCE) { if (flags & TRANSPORT_PUSH_FORCE) {
if (set_helper_option(transport, "force", "true") != 0) if (set_helper_option(transport, "force", "true") != 0)
warning(_("helper %s does not support 'force'"), data->name); warning(_("helper %s does not support '--force'"), data->name);
} }
helper = get_helper(transport); helper = get_helper(transport);