]> git.ipfire.org Git - thirdparty/git.git/commitdiff
transport-helper.c: trivial fix of error message
authorAlexander Shopov <ash@kambanaria.org>
Fri, 16 Feb 2024 10:15:34 +0000 (11:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Mar 2024 22:11:56 +0000 (14:11 -0800)
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>
transport-helper.c

index e34a8f47cfbf5cba150e1aa7c6267fc2b1c080c0..7014b9ad70d89c55ed051019ab5faf964994c488 100644 (file)
@@ -1072,7 +1072,7 @@ static int push_refs_with_export(struct transport *transport,
        set_common_push_options(transport, data->name, flags);
        if (flags & TRANSPORT_PUSH_FORCE) {
                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);