summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 06:33:43 +0000
committerJunio C Hamano <gitster@pobox.com>2023-06-21 11:14:34 -0700
commitfc8173505703a08bea5c648f1ab286013c3fd730 (patch)
treed68497413bfe6aae4b8922715d041abbd573eb35 /builtin/commit.c
parentc2f76965d0202a894c9491e0647b7834b58cd168 (diff)
init-db, clone: change unnecessary global into passed parameter
Much like the parent commit, this commit was prompted by a desire to move the functions which builtin/init-db.c and builtin/clone.c share out of the former file and into setup.c. A secondary issue that made it difficult was the init_shared_repository global variable; replace it with a simple parameter that is passed to the relevant functions. 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