git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[Improvements on messages 2/5] transport-helper.c: trivial fix of error message

From
Alexander Shopov <ash@kambanaria.org>
Date
Feb 16, 2024, 10:15 UTC
Message-ID
<20240216101647.28837-3-ash@kambanaria.org>
In-Reply-To
<20240216101647.28837-1-ash@kambanaria.org>
Mark --force as option rather than variable names
Signed-off-by: Alexander Shopov <ash@kambanaria.org>
---
 transport-helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/transport-helper.c b/transport-helper.c
index e34a8f47cf..7014b9ad70 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -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);
--
2.43.2
Previous: Alex HenrieNext: Alexander Shopov
Message 4 of 9 in “[Improvements on messages 0/5] Disambuiguate between options and commands”
  1. Alexander ShopovFeb 16, 2024
  2. 1/5 rebase: trivial fix of error messageAlexander Shopov, Feb 16, 2024
  3. Alex HenrieFeb 16, 2024
  4. 2/5 transport-helper.c: trivial fix of error messageAlexander Shopov, Feb 16, 2024
  5. 3/5 builtin/remote.c: trivial fix of error messageAlexander Shopov, Feb 16, 2024
  6. 4/5 builtin/clone.c: trivial fix of messageAlexander Shopov, Feb 16, 2024
  7. 5/5 revision.c: trivial fix to messageAlexander Shopov, Feb 16, 2024
  8. Junio C HamanoFeb 16, 2024
  9. Junio C HamanoMar 5, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.