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

Re: ab/test-without-templates

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 23, 2022, 22:12 UTC
Message-ID
<xmqqr13fxc5l.fsf@gitster.g>
In-Reply-To
<220623.86sfnvk5rw.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 19 quoted lines
> On Wed, Jun 22 2022, Junio C Hamano wrote:
>
>> * ab/test-without-templates (2022-06-06) 7 commits
>>  - tests: don't assume a .git/info for .git/info/sparse-checkout
>>  - tests: don't assume a .git/info for .git/info/exclude
>>  - tests: don't assume a .git/info for .git/info/refs
>>  - tests: don't assume a .git/info for .git/info/attributes
>>  - tests: don't assume a .git/info for .git/info/grafts
>>  - tests: don't depend on template-created .git/branches
>>  - t0008: don't rely on default ".git/info/exclude"
>>
>>  Tweak tests so that they still work when the "git init" template
>>  did not create .git/info directory.
>>
>>  Will merge to 'next'?
>>  source: <cover-v2-0.7-00000000000-20220603T110506Z-avarab@gmail.com>
>
> Presumably the submitters vote doesn't count for much, but FWIW I think
> it's ready & that there's nothing outstanding left to address.

I do not think they make any particular test to break, but I do not think it is a good idea overall to give a false impression to the users that it is OK to use incomplete templates that lack things expected by Git in properly initialized repositories. And these patches definitely take things in that wrong direction.

Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 6 of 13 in “What's cooking in git.git (Jun 2022, #07; Wed, 22)”
  1. Junio C HamanoJun 22, 2022
  2. en/merge-tree (Was: Re: What's cooking in git.git (Jun 2022, #07; Wed, 22))Elijah Newren, Jun 22, 2022
  3. Junio C HamanoJun 22, 2022
  4. Johannes SchindelinJun 23, 2022
  5. ab/test-without-templates (was: What's cooking in git.git (Jun 2022, #07; Wed, 22))Ævar Arnfjörð Bjarmason, Jun 23, 2022
  6. Junio C HamanoJun 23, 2022
  7. Ævar Arnfjörð BjarmasonJun 27, 2022
  8. Junio C HamanoJun 27, 2022
  9. Ævar Arnfjörð BjarmasonJun 27, 2022
  10. hx/unpack-streaming (was: What's cooking in git.git (Jun 2022, #07; Wed, 22))Ævar Arnfjörð Bjarmason, Jun 23, 2022
  11. Junio C HamanoJun 23, 2022
  12. gc/submodule-update (was Re: What's cooking in git.git (Jun 2022, #07; Wed, 22))Glen Choo, Jun 24, 2022
  13. Junio C HamanoJun 24, 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.