diff options
author | Elijah Newren <newren@gmail.com> | 2023-05-16 09:33:43 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-21 21:14:34 +0300 |
commit | fc8173505703a08bea5c648f1ab286013c3fd730 (patch) | |
tree | d68497413bfe6aae4b8922715d041abbd573eb35 /setup.c | |
parent | c2f76965d0202a894c9491e0647b7834b58cd168 (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 'setup.c')
0 files changed, 0 insertions, 0 deletions