diff options
| author | Karthik Nayak <karthik.188@gmail.com> | 2024-02-23 11:01:09 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-02-23 10:36:27 -0800 |
| commit | f768296cf1ac83d7b3216615da907dddb35fc6cd (patch) | |
| tree | cf47eee547e43a9435d1c1b701fbbf83cea60e38 /refs/refs-internal.h | |
| parent | refs: introduce `is_pseudoref()` and `is_headref()` (diff) | |
| download | git-f768296cf1ac83d7b3216615da907dddb35fc6cd.tar.gz git-f768296cf1ac83d7b3216615da907dddb35fc6cd.zip | |
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>
Diffstat (limited to 'refs/refs-internal.h')
0 files changed, 0 insertions, 0 deletions
