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

Re: [PATCH v2 2/2] refs: warn on non-pseudoref looking .git/<file> refs

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Dec 14, 2020, 19:56 UTC
Message-ID
<CAPig+cTWoBaoQxNvbFhKNVSvYP_TFOqdfLsu5tOW32uO5TEoaQ@mail.gmail.com>
In-Reply-To
<20201214191700.16405-3-avarab@gmail.com>

On Mon, Dec 14, 2020 at 2:17 PM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:

Show 5 quoted lines
> [...]
> Our own test suite makes use of a few refs in .git/ that aren't
> produced by git itself, e.g. "FOO", "TESTSYMREFTWO" etc. External
> tools probably rely on this as well, so I don't think it's viable to
> e.g. have a whitelist of them. That list is quite large just fr
You want a s/fr/from/ here or something?
Show 5 quoted lines
> git.git, I counted 12 names used in the C code before I abandoned that
> approach.
> [...]
> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
> Modified-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Is the Modified-by: footer intentional?
Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 8 of 12 in “refs: move is_pseudoref_syntax() earlier in the file”
  1. 1/2 refs: move is_pseudoref_syntax() earlier in the fileÆvar Arnfjörð Bjarmason, Dec 10, 2020
  2. 2/2 refs: warn on non-pseudoref looking .git/<file> refsÆvar Arnfjörð Bjarmason, Dec 10, 2020
  3. Eric SunshineDec 10, 2020
  4. Ævar Arnfjörð BjarmasonDec 10, 2020
  5. Eric SunshineDec 10, 2020
  6. Ævar Arnfjörð BjarmasonDec 10, 2020
  7. 2/2 refs: warn on non-pseudoref looking .git/<file> refsÆvar Arnfjörð Bjarmason, Dec 14, 2020
  8. Eric SunshineDec 14, 2020
  9. Junio C HamanoDec 14, 2020
  10. Ævar Arnfjörð BjarmasonDec 15, 2020
  11. 1/2 refs: move is_pseudoref_syntax() earlier in the fileÆvar Arnfjörð Bjarmason, Dec 14, 2020
  12. 0/2 warn on non-pseudoref looking .git/<file> refsÆvar Arnfjörð Bjarmason, Dec 14, 2020

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.