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

Re: [PATCH 0/6] Some more git config completions

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 2, 2017, 00:33 UTC
Message-ID
<xmqqy3tb2poy.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CACBZZX6aGkBaQtjKNx09-XEbhXNubOnhJdVXYkNq419wetDvqg@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 5 quoted lines
> As an aside from this series, has anyone ever proposed some method of
> semi-automatically keeping this up-to-date? Seems we're in a continual
> cycle of adding flags/config, forgetting to update this, then updating
> it. At least the command-line flags should be easy to parse out in
> some test, ditto config variables from config.txt maybe...

In theory, yes, and if it is harder to automate it, at some point we may want to see if we can devise a way to make it easier by extending parse-options and config API.

Such an automation however needs to take into account the fact that historically we tried not to blindly add everything under the sun to completion (iow, there needs a way to allow us mark some things not to be auto completed in the mechanism).

Previous: Ævar Arnfjörð BjarmasonNext: SZEDER Gábor
Message 9 of 10 in “Some more git config completions”
  1. 0/6 Some more git config completionsRikard Falkeborn, May 27, 2017
  2. 2/6 completion: Add git config core completionsRikard Falkeborn, May 27, 2017
  3. 1/6 completion: Add git config gc completionsRikard Falkeborn, May 27, 2017
  4. 4/6 completion: Add git config advice completionsRikard Falkeborn, May 27, 2017
  5. 6/6 completion: Add git config credentialCache.ignoreSIGHUPRikard Falkeborn, May 27, 2017
  6. 3/6 completion: Add git config am.threeWay completionRikard Falkeborn, May 27, 2017
  7. 5/6 completion: Add git config credential completionsRikard Falkeborn, May 27, 2017
  8. Ævar Arnfjörð BjarmasonJun 1, 2017
  9. Junio C HamanoJun 2, 2017
  10. SZEDER GáborJun 4, 2017

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.