From: Tian Yuchen Date: Tue, 17 Mar 2026 13:47:39 GMT Subject: [PATCH v1] builtin/patch-id.c: make reliance on the_hash_algo explicit Message-ID: <20260317134739.2465620-1-cat@malon.dev> Call get_oid_hex_algop() directly with 'the_hash_algo' to make the reliance on the global hash algorithm explicit rather than hiding it behind get_oid_hex(). Signed-off-by: Tian Yuchen --- I tried to modify all relevant functions to support calling 'repo->hash_algo'. However, this failed the test: not ok 26 - patch-id without repository # # cat >diff <<-\EOF && # diff --git a/bar b/bar # index bdaf90f..31051f6 100644 # --- a/bar # +++ b/bar # @@ -2 +2,2 @@ # b # +c # EOF # nongit git patch-id