diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-11-19 08:50:49 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-19 17:41:03 -0800 |
| commit | 831e02340b9de46c9ea0a1bbce3894f390f5a45e (patch) | |
| tree | 2277541bc28b371ed41ef8538b6ea60f85aa33f8 /http-backend.c | |
| parent | c6def6a05504575dc92f8be785f18e326ea5f23c (diff) | |
| download | git-831e02340b9de46c9ea0a1bbce3894f390f5a45e.tar.gz | |
path: move `enter_repo()` into "setup.c"
The function `enter_repo()` is used to enter a repository at a given
path. As such it sits way closer to setting up a repository than it does
with handling paths, but regardless of that it's located in "path.c"
instead of in "setup.c".
Move the function into "setup.c".
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-backend.c')
| -rw-r--r-- | http-backend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http-backend.c b/http-backend.c index 52f0483dd3..e9d1ef92bd 100644 --- a/http-backend.c +++ b/http-backend.c @@ -16,6 +16,7 @@ #include "run-command.h" #include "string-list.h" #include "url.h" +#include "setup.h" #include "strvec.h" #include "packfile.h" #include "odb.h" |
