1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-28 12:59:41 +01:00
git/refs
Karthik Nayak f768296cf1 refs: extract out loose_fill_ref_dir_regular_file()
Extract out the code for adding a single file to the loose ref dir as
`loose_fill_ref_dir_regular_file()` from `loose_fill_ref_dir()` in
`refs/files-backend.c`.

This allows us to use this function independently in the following
commits where we add code to also add pseudorefs to the ref dir.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-02-23 10:36:27 -08:00
..
debug.c refs: prepare refs_init_db() for initializing worktree refs 2024-01-08 13:17:30 -08:00
files-backend.c refs: extract out loose_fill_ref_dir_regular_file() 2024-02-23 10:36:27 -08:00
iterator.c treewide: remove unnecessary cache.h inclusion from several sources 2023-03-21 10:56:51 -07:00
packed-backend.c Merge branch 'ps/worktree-refdb-initialization' 2024-01-26 08:54:46 -08:00
packed-backend.h Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'" 2022-04-13 15:51:33 -07:00
ref-cache.c treewide: remove unnecessary includes in source files 2023-12-26 12:04:31 -08:00
ref-cache.h hash-ll.h: split out of hash.h to remove dependency on repository.h 2023-04-24 12:47:32 -07:00
refs-internal.h refs: introduce reftable backend 2024-02-07 08:28:37 -08:00
reftable-backend.c refs/reftable: fix leak when copying reflog fails 2024-02-07 21:30:43 -08:00