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 /builtin/upload-pack.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 'builtin/upload-pack.c')
| -rw-r--r-- | builtin/upload-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/upload-pack.c b/builtin/upload-pack.c index c2bbc035ab..30498fafea 100644 --- a/builtin/upload-pack.c +++ b/builtin/upload-pack.c @@ -5,11 +5,11 @@ #include "gettext.h" #include "pkt-line.h" #include "parse-options.h" -#include "path.h" #include "protocol.h" #include "replace-object.h" #include "upload-pack.h" #include "serve.h" +#include "setup.h" #include "commit.h" #include "environment.h" |
