diff options
author | Elijah Newren <newren@gmail.com> | 2023-05-16 06:33:44 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-21 13:39:53 -0700 |
commit | e8cf8ef5075d7805846f0f7159f8d072b07e588e (patch) | |
tree | b69f575968eeff49cb682502e5687e1587f6374c /builtin/commit.c | |
parent | fc8173505703a08bea5c648f1ab286013c3fd730 (diff) |
setup: adopt shared init-db & clone code
The functions init_db() and initialize_repository_version() were shared
by builtin/init-db.c and builtin/clone.c, and declared in cache.h.
Move these functions, plus their several helpers only used by these
functions, to setup.[ch].
Diff best viewed with `--color-moved`.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions