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

Re: [PATCH v3 1/4] bisect--helper: normalize format string of yes/no prompts

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 16, 2021, 21:39 UTC
Message-ID
<xmqqy24k8c0j.fsf@gitster.g>
In-Reply-To
<e7672e70cc937ef3aaab9a36199470e01f6676a8.1639678735.git.gitgitgadget@gmail.com>
"Kashav Madan via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 6 quoted lines
> From: Kashav Madan <kshvmdn@gmail.com>
>
> Both callers of git_prompt in bisect--helper.c ask the user for yes/no
> confirmation. They both place the question mark after the choices,
> however this is inconsistent with how most UNIX-y tools do it. Update
> the format string to exclude the choices from the question.

Is there somewhere that the claim can be confirmed? I am not having much luck with queries like

https://www.google.com/search?q=prompt+question+mark+and+choices

that gave https://home.csulb.edu/~murdock/choice.html the most relevant page X-<.

I personally do not think this step is worth doing, but in any case, NEVER touch po/* directory when you are updating code and strings in the code. It is something our i18n coordinator will do at certain point in the release cycle.

Previous: Kashav Madan via GitGitGadgetNext: Junio C Hamano
Message 11 of 14 in “help: add space after autocorrect prompt”
  1. help: add space after autocorrect promptkashav madan via GitGitGadget, Dec 15, 2021
  2. Junio C HamanoDec 15, 2021
  3. Johannes AltmanningerDec 16, 2021
  4. Eric SunshineDec 16, 2021
  5. Junio C HamanoDec 16, 2021
  6. help: make auto-correction prompt more consistentkashav madan via GitGitGadget, Dec 15, 2021
  7. Junio C HamanoDec 16, 2021
  8. 0/4 normalize format of yes/no promptskashav madan via GitGitGadget, Dec 16, 2021
  9. 2/4 clean: normalize format string of yes/no promptKashav Madan via GitGitGadget, Dec 16, 2021
  10. 1/4 bisect--helper: normalize format string of yes/no promptsKashav Madan via GitGitGadget, Dec 16, 2021
  11. Junio C HamanoDec 16, 2021
  12. Junio C HamanoDec 16, 2021
  13. 3/4 add-patch: normalize format string of yes/no promptKashav Madan via GitGitGadget, Dec 16, 2021
  14. 4/4 help: make auto-correction prompt more consistentKashav Madan via GitGitGadget, Dec 16, 2021

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.