diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-06-11 08:44:44 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-06-11 05:05:54 -0700 |
| commit | 2e1d55626f06be7b9374c0a6f579959d750f0cfb (patch) | |
| tree | 05618e5d43101b8286c7fc77512f71cf019667ae /gitweb/gitweb.cgi | |
| parent | 7ff3a5895b6bf4c14d361e4c845d2de7e4006259 (diff) | |
environment: stop using `the_repository` in `is_bare_repository()`
Refactor `is_bare_repository()` to take in a repository parameter so
that we no longer depend on `the_repository`. Adjust callers
accordingly.
Furthermore, move the function outside of the declarations that are only
available when `USE_THE_REPOSITORY_VARIABLE` is set, as it no longer
depends on that variable.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.cgi')
0 files changed, 0 insertions, 0 deletions
