aboutsummaryrefslogtreecommitdiffstats
path: root/serve.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-11-08 10:33:21 -0800
committerJunio C Hamano <gitster@pobox.com>2025-11-08 10:33:21 -0800
commit673f731b7a3573bef1c78a366b150e01b9606284 (patch)
tree6f6ce50684fcaf2bc5f9add40e537d8ecae76f36 /serve.c
parentMerge branch 'ad/blame-diff-algorithm' into seen (diff)
parentSQUASH??? downgrade build.rs syntax (diff)
downloadgit-673f731b7a3573bef1c78a366b150e01b9606284.tar.gz
git-673f731b7a3573bef1c78a366b150e01b9606284.zip
Merge branch 'bc/sha1-256-interop-02' into seen
The code to maintain mapping between object names in multiple hash functions is being added, written in Rust. * bc/sha1-256-interop-02: SQUASH??? downgrade build.rs syntax object-file-convert: always make sure object ID algo is valid rust: add a small wrapper around the hashfile code rust: add a new binary loose object map format rust: add functionality to hash an object rust: add a build.rs script for tests hash: expose hash context functions to Rust write-or-die: add an fsync component for the loose object map csum-file: define hashwrite's count as a uint32_t hash: add a function to look up hash algo structs rust: add a hash algorithm abstraction rust: add a ObjectID struct hash: use uint32_t for object_id algorithm conversion: don't crash when no destination algo repository: require Rust support for interoperability
Diffstat (limited to 'serve.c')
-rw-r--r--serve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serve.c b/serve.c
index 53ecab3b42..49a6e39b1d 100644
--- a/serve.c
+++ b/serve.c
@@ -14,7 +14,7 @@
static int advertise_sid = -1;
static int advertise_object_info = -1;
-static int client_hash_algo = GIT_HASH_SHA1_LEGACY;
+static uint32_t client_hash_algo = GIT_HASH_SHA1_LEGACY;
static int always_advertise(struct repository *r UNUSED,
struct strbuf *value UNUSED)