summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2024-02-23 11:01:09 +0100
committerJunio C Hamano <gitster@pobox.com>2024-02-23 10:36:27 -0800
commitf768296cf1ac83d7b3216615da907dddb35fc6cd (patch)
treecf47eee547e43a9435d1c1b701fbbf83cea60e38 /builtin/commit.c
parent1eba2240f8ba9f05a47d488bb62041c42c5d4b9c (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions