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

Re: [PATCH v2 2/2] t/t3308-notes-merge.sh: succeed with relaxed notes refs

From
Kyle J. McKay <mackyle@gmail.com>
Date
Jan 7, 2015, 01:27 UTC
Message-ID
<27162E6E-742C-455D-A005-220B7A8B38CF@gmail.com>
In-Reply-To
<xmqqoaqbmpmj.fsf@gitster.dls.corp.google.com>
On Jan 6, 2015, at 15:54, Junio C Hamano wrote:
Show 14 quoted lines
> "Kyle J. McKay" <mackyle@gmail.com> writes:
>
>> A whitelist solves issue (1) but is no help for issue (2) unless some
>> additional additional part of the refs namespace were to be also
>> whitelisted.  Perhaps something like refs/x-<anything>/... in the  
>> same
>> vein as the various IETF standards for experimental names.
>
> Your (2) is about people who are _experimenting_, no?
>
> Why can't they use refs/notes/x-<anything>/* while doing so, and
> when that matures and proves useful to wider public we can make it
> more official by whitelisting refs/<that-thing> in addition to
> refs/notes/, and the problem is solved, no?

I supposed if that's the best that can be done. The problem is then that if you set notes.displayRef to refs/notes/* to see all relevant notes, don't you end up seeing these experimental, not-meant-for-end- user-consumption notes if they are somewhere under refs/notes/ ? My glob specs are a little fuzzy, maybe it's refs/notes/** that gets everything under it?

Previous: Junio C HamanoNext: Johan Herland
Message 9 of 16 in “Accept any notes ref”
  1. 0/2 Accept any notes refKyle J. McKay, Jan 6, 2015
  2. 1/2 notes: accept any refKyle J. McKay, Jan 6, 2015
  3. 2/2 t/t3308-notes-merge.sh: succeed with relaxed notes refsKyle J. McKay, Jan 6, 2015
  4. Junio C HamanoJan 6, 2015
  5. Kyle J. McKayJan 6, 2015
  6. Junio C HamanoJan 6, 2015
  7. Kyle J. McKayJan 6, 2015
  8. Junio C HamanoJan 6, 2015
  9. Kyle J. McKayJan 7, 2015
  10. Johan HerlandJan 7, 2015
  11. Kyle J. McKayJan 7, 2015
  12. Junio C HamanoJan 7, 2015
  13. Johan HerlandJan 7, 2015
  14. Jeff KingJan 7, 2015
  15. Junio C HamanoJan 7, 2015
  16. Jeff KingJan 8, 2015

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.