summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorAdrian Ratiu <adrian.ratiu@collabora.com>2026-04-10 12:05:57 +0300
committerJunio C Hamano <gitster@pobox.com>2026-04-10 07:58:53 -0700
commit1c9e5b3fa235e0da6f62359af36afea8e7617074 (patch)
treefe9a0d7d41dd051a7c7c37bc9a6c8d1144de1fb3 /contrib/persistent-https
parent8d2ffcf4b4a3a55c56c57c8df617516c25d98380 (diff)
downloadgit-1c9e5b3fa235e0da6f62359af36afea8e7617074.tar.gz
git-1c9e5b3fa235e0da6f62359af36afea8e7617074.zip
config: add a repo_config_get_uint() helper
Next commits add a 'hook.jobs' config option of type 'unsigned int', so add a helper to parse it since the API only supports int and ulong. An alternative is to make 'hook.jobs' an 'int' or parse it as an 'int' then cast it to unsigned, however it's better to use proper helpers for the type. Using 'ulong' is another option which already has helpers, but it's a bit excessive in size for just the jobs number. Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions