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

Re: What's cooking in git.git (Feb 2024, #09; Tue, 27)

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 1, 2024, 16:21 UTC
Message-ID
<xmqqjzml9b2w.fsf@gitster.g>
In-Reply-To
<CAOLa=ZQAxGFDrBmq0+Q77YcfT4hBivRu9oOGZF-r81F49P+00Q@mail.gmail.com>
Karthik Nayak <karthik.188@gmail.com> writes:
Show 20 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>> * kn/for-all-refs (2024-02-23) 6 commits
>>   (merged to 'next' on 2024-02-27 at aef2406cca)
>>  + for-each-ref: add new option to include root refs
>>  + ref-filter: rename 'FILTER_REFS_ALL' to 'FILTER_REFS_REGULAR'
>>  + refs: introduce `refs_for_each_include_root_refs()`
>>  + refs: extract out `loose_fill_ref_dir_regular_file()`
>>  + refs: introduce `is_pseudoref()` and `is_headref()`
>>  + Merge branch 'ps/reftable-backend' into kn/for-all-refs
>>
>>  "git for-each-ref" filters its output with prefixes given from the
>>  command line, but it did not honor an empty string to mean "pass
>>  everything", which has been corrected.
>>
>>  Will merge to 'master'.
>>  source: <20240223100112.44127-1-karthik.188@gmail.com>
>
> Thanks, the description here needs to be modified since we moved from
> the `an empty string to mean "pass everything"` to providing the
> `--include-root-refs` option.

Good point. I just updated the draft for the next issue of 'whats-cooking.txt' to read like this:

 "git for-each-ref" learned "--include-root-refs" option to show
 even the stuff outside the 'refs/' hierarchy.
Thanks.
Previous: Karthik Nayak
Message 9 of 9 in “What's cooking in git.git (Feb 2024, #09; Tue, 27)”
  1. Junio C HamanoFeb 28, 2024
  2. Philippe BlainFeb 28, 2024
  3. Junio C HamanoFeb 28, 2024
  4. Linus ArverFeb 29, 2024
  5. Junio C HamanoMar 1, 2024
  6. Junio C HamanoMar 1, 2024
  7. Linus ArverMar 8, 2024
  8. Karthik NayakMar 1, 2024
  9. Junio C HamanoMar 1, 2024

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.