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

Re: [PATCH v3] mergetool--lib: fix '--tool-help' to correctly show available tools

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Jan 7, 2021, 13:37 UTC
Message-ID
<e5d24e6e-9a69-aa1f-483b-b892497a0e20@gmail.com>
In-Reply-To
<pull.825.v3.git.1609981745668.gitgitgadget@gmail.com>
Le 2021-01-06 à 20:09, Philippe Blain via GitGitGadget a écrit :
Show 16 quoted lines
> From: Philippe Blain <levraiphilippeblain@gmail.com>
> 
> ...
> ---
>      Fix regression in 'git {diff,merge}tool --tool-help'
>      
>      Changes since v1:
>      
>       * Changed commit authorship (v1 sent with wrong identity).
>      
>      v1: I went with Johannes' suggestion finally because upon further
>      inspection, René's patch for some reason (I did not debug further)
>      caused to code to never reach 'any_shown=yes' in show_tool_help,
>      therefore changing the output of the command.
>      
>      I guess it's too late for inclusion in 2.30...
Forgot to summarize changes since v2:
- rewrote the description of the symptom of the bug to reflect what
was really happening
- changed the test to not rely on hard-coding the number of tools,
and just checking a few known tools are shown instead
Previous: Philippe Blain via GitGitGadget
Message 10 of 10 in “mergetool--lib: fix '--tool-help' to correctly show available tools”
  1. mergetool--lib: fix '--tool-help' to correctly show available toolsPhilippe Blain via GitGitGadget, Dec 28, 2020
  2. mergetool--lib: fix '--tool-help' to correctly show available toolsPhilippe Blain via GitGitGadget, Dec 28, 2020
  3. SZEDER GáborJan 6, 2021
  4. Philippe BlainJan 6, 2021
  5. Junio C HamanoJan 6, 2021
  6. Philippe BlainJan 6, 2021
  7. Junio C HamanoJan 6, 2021
  8. Philippe BlainJan 7, 2021
  9. mergetool--lib: fix '--tool-help' to correctly show available toolsPhilippe Blain via GitGitGadget, Jan 7, 2021
  10. Philippe BlainJan 7, 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.