aboutsummaryrefslogtreecommitdiffstats
path: root/commit.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2023-12-12 08:00:41 +0100
committerJunio C Hamano <gitster@pobox.com>2023-12-12 11:16:54 -0800
commit79543e760d0219063ab21f687e7538c3e89b2e99 (patch)
treef4a51571c5319b4d52014dfa3c93b8e97b980a36 /commit.h
parentGit 2.43 (diff)
downloadgit-79543e760d0219063ab21f687e7538c3e89b2e99.tar.gz
git-79543e760d0219063ab21f687e7538c3e89b2e99.zip
setup: extract function to create the refdb
We're about to let callers skip creation of the reference database when calling `init_db()`. Extract the logic into a standalone function so that it becomes easier to do this refactoring. While at it, expand the comment that explains why we always create the "refs/" directory. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions