summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPablo Sabater <pabloosabaterr@gmail.com>2026-07-24 12:54:16 +0200
committerJunio C Hamano <gitster@pobox.com>2026-07-24 08:46:59 -0700
commitb72559caa4ca3733b7694fa27364c4a9ac364159 (patch)
tree0b5ce11da98b46321dc4f9fb3b97de9d22839fa7 /contrib/persistent-https
parentb54d5e19f068a73bdbde5a9434fe72902764b958 (diff)
fetch-pack: use unsigned int for hash_algo variable
hash_algo_by_name() returns unsigned int, but it is stored in hash_algo variable as int. This goes unnoticed because of: DISABLE_SIGN_COMPARE_WARNINGS On 'fetch-pack.c' On a subsequent commit this function will be moved to 'connect.c' that would notice this. Change hash_algo variable type to match its return type, also make it const because they are never modified. Signed-off-by: Pablo Sabater <pabloosabaterr@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions