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

Re: gc/bare-repo-discovery (was Re: What's cooking in git.git (Jul 2022, #03; Mon, 11))

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 14, 2022, 16:17 UTC
Message-ID
<5ps2q552-1rr3-7161-4181-31556pp2ns12@tzk.qr>
In-Reply-To
<xmqq8roxdlhe.fsf@gitster.g>
Hi,
On Wed, 13 Jul 2022, Junio C Hamano wrote:
Show 10 quoted lines
> Glen Choo <chooglen@google.com> writes:
>
> > I also noted your distaste for the `discovery.*` namespace (fair
> > enough). To avoid a reroll-of-the-reroll, I was hoping that we could
> > agree on something on-list (thread here [1]) before I send out the next
> > version.
>
> I found your idea of adding this new one in the safe.* hierarchy
> quite reasonable.  "safe.discoveredBareRepository = yes / no" may be
> quote a mouthful, but I do not think I can think of anything better.

I would find `safe.bareRepository = true` or `false` more intuitive, and more concise.

And if there should be an option to ignore bare repositories when discovering a Git repository, it could be a tristate, with `ignore` being the value to trigger that mode.

Thanks, Dscho

Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 17 in “What's cooking in git.git (Jul 2022, #03; Mon, 11)”
  1. Junio C HamanoJul 12, 2022
  2. gc/bare-repo-discovery (was Re: What's cooking in git.git (Jul 2022, #03; Mon, 11))Glen Choo, Jul 12, 2022
  3. Junio C HamanoJul 13, 2022
  4. Johannes SchindelinJul 14, 2022
  5. Junio C HamanoJul 14, 2022
  6. Philip OakleyJul 12, 2022
  7. Junio C HamanoJul 13, 2022
  8. ac/bitmap-lookup-table (was: Re: What's cooking in git.git (Jul 2022, #03; Mon, 11))Taylor Blau, Jul 12, 2022
  9. Junio C HamanoJul 13, 2022
  10. js/bisect-in-c, was Re: What's cooking in git.git (Jul 2022, #03; Mon, 11)Johannes Schindelin, Jul 13, 2022
  11. Ævar Arnfjörð BjarmasonJul 13, 2022
  12. Junio C HamanoJul 13, 2022
  13. Ævar Arnfjörð BjarmasonJul 14, 2022
  14. Johannes SchindelinJul 14, 2022
  15. Ævar Arnfjörð BjarmasonJul 14, 2022
  16. Johannes SchindelinAug 16, 2022
  17. Ævar Arnfjörð BjarmasonAug 17, 2022

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.