mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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:
committed by
Junio C Hamano
parent
efb050becb
commit
3a12749b50
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user