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

Re: Giving priority to the reftable topic (was Re: What's cooking in git.git (Aug 2021, #06; Mon, 16))

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Aug 20, 2021, 22:08 UTC
Message-ID
<bc387e32-321e-4726-2a02-2e6cf6ed5250@ramsayjones.plus.com>
In-Reply-To
<xmqqtujkwsu0.fsf@gitster.g>
On 20/08/2021 07:09, Junio C Hamano wrote:
Show 18 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
> 
>> * hn/reftable (2021-08-16) 25 commits
>>  - t1404: annotate test cases with REFFILES
>>  ...
>>  - hash.h: provide constants for the hash IDs
>>
>>  The "reftable" backend for the refs API.
> 
> As discussed in the thread that leads to [*1*], this topic has been
> blocked by the "clean-up errno use in the refs subsystem" topic for
> too long.  I think it deserves to have its own chance to be looked
> at by more eyes.
> 
> I've reverted the three topics around "errno" out of 'next', while
> rebasing them into a single strand of pearls, and queued them near
> the tip of 'seen'.  The hn/reftable topic is merged into 'seen' 
> earlier then these "errno" topics.

Just a gentle reminder that this topic tickles my 'static-check.pl' script, like so:

  $ diff nsc ssc
  ...
  88a91,98
  > reftable/generic.o	- reftable_table_seek_log
  > reftable/merged.o	- reftable_merged_table_hash_id
  > reftable/merged.o	- reftable_merged_table_min_update_index
  > reftable/merged.o	- reftable_merged_table_seek_log_at
  > reftable/publicbasics.o	- reftable_set_alloc
  > reftable/reader.o	- reader_seek
  > reftable/reader.o	- reftable_reader_seek_log_at
  > reftable/stack.o	- reftable_stack_auto_compact
  ...
  $ 

Which is to say, all of the above symbols are defined (and called) in the '.c' file corresponding to the given object file, but not called anywhere outside that file. I have not even looked at those functions, but (with the possible exception of reftable_set_alloc()) they don't strike me as 'public API functions'. So, maybe they should be marked as 'static'?

ATB, Ramsay Jones

Previous: Junio C HamanoNext: Han-Wen Nienhuys
Message 15 of 17 in “What's cooking in git.git (Aug 2021, #06; Mon, 16)”
  1. Junio C HamanoAug 16, 2021
  2. Azeem Bande-AliAug 16, 2021
  3. Junio C HamanoAug 17, 2021
  4. Phillip WoodAug 17, 2021
  5. Junio C HamanoAug 17, 2021
  6. Derrick StoleeAug 17, 2021
  7. Eric SunshineAug 18, 2021
  8. Phillip WoodAug 19, 2021
  9. Philippe BlainAug 17, 2021
  10. Junio C HamanoAug 17, 2021
  11. Junio C HamanoAug 17, 2021
  12. Phillip WoodAug 19, 2021
  13. Junio C HamanoAug 19, 2021
  14. Giving priority to the reftable topic (was Re: What's cooking in git.git (Aug 2021, #06; Mon, 16))Junio C Hamano, Aug 20, 2021
  15. Ramsay JonesAug 20, 2021
  16. Han-Wen NienhuysOct 7, 2021
  17. Ævar Arnfjörð BjarmasonAug 23, 2021

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.