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

Re: [PATCH v3 2/3] vimdiff: add tool documentation

From
Fernando Ramos <greenfoo@u92.eu>
Date
Dec 4, 2021, 08:31 UTC
Message-ID
<YasnfjKqEmI+7rLG@zacax395.localdomain>
In-Reply-To
<211201.86ee6w9fq8.gmgdl@evledraar.gmail.com>
On 21/12/01 10:27PM, Ævar Arnfjörð Bjarmason wrote:
Show 15 quoted lines
> 
> > +merge_cmd_help() {
> > +	case "$1" in
> > +	*)
> > +		echo "Run 'man git-mergetool--vimdiff' for details"
> > +		;;
> > +	esac
> > +
> > +	return 0
> > +}
> > +
> > +
> 
> Isn't the case/esac in those functions entirely redundant and they could
> just "echo"?

Yes, I originally left it here in case we wanted to print different messages for different variants (vimdiff, vimdiff2, ...).

But now that the documentation has been placed into a single file, I don't see a reason to keep this. I'll remove it. Thanks for noticing.

Previous: Ævar Arnfjörð BjarmasonNext: Fernando Ramos
Message 5 of 9 in “vimdiff: new implementation with layout support”
  1. 0/3 vimdiff: new implementation with layout supportFernando Ramos, Nov 30, 2021
  2. 1/3 vimdiff: new implementation with layout supportFernando Ramos, Nov 30, 2021
  3. 2/3 vimdiff: add tool documentationFernando Ramos, Nov 30, 2021
  4. Ævar Arnfjörð BjarmasonDec 1, 2021
  5. Fernando RamosDec 4, 2021
  6. 3/3 vimdiff: integrate layout tests in the unit tests framework ('t' folder)Fernando Ramos, Nov 30, 2021
  7. Ævar Arnfjörð BjarmasonDec 1, 2021
  8. Eric SunshineDec 1, 2021
  9. Fernando RamosDec 1, 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.