aboutsummaryrefslogtreecommitdiffstats
path: root/remote.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-12-27 14:52:28 -0800
committerJunio C Hamano <gitster@pobox.com>2023-12-27 14:52:28 -0800
commit94e8e404a7ceaa4cbc34c2406e5dff4b08a49e85 (patch)
treece917e9a9e79ce0e5638a98b911b87ff45fd08c9 /remote.h
parentMerge branch 'rs/t6300-compressed-size-fix' (diff)
parentbuiltin/clone: create the refdb with the correct object format (diff)
downloadgit-94e8e404a7ceaa4cbc34c2406e5dff4b08a49e85.tar.gz
git-94e8e404a7ceaa4cbc34c2406e5dff4b08a49e85.zip
Merge branch 'ps/clone-into-reftable-repository'
"git clone" has been prepared to allow cloning a repository with non-default hash function into a repository that uses the reftable backend. * ps/clone-into-reftable-repository: builtin/clone: create the refdb with the correct object format builtin/clone: skip reading HEAD when retrieving remote builtin/clone: set up sparse checkout later builtin/clone: fix bundle URIs with mismatching object formats remote-curl: rediscover repository when fetching refs setup: allow skipping creation of the refdb setup: extract function to create the refdb
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/remote.h b/remote.h
index cdc8b1db42..79353ba226 100644
--- a/remote.h
+++ b/remote.h
@@ -118,6 +118,7 @@ struct remote {
* and configuration.
*/
struct remote *remote_get(const char *name);
+struct remote *remote_get_early(const char *name);
struct remote *pushremote_get(const char *name);
int remote_is_configured(struct remote *remote, int in_repo);