MCPcopy Create free account
hub / github.com/git/git / repo_cfg_int

Function repo_cfg_int

repo-settings.c:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16static void repo_cfg_int(struct repository *r, const char *key, int *dest,
17 int def)
18{
19 if (repo_config_get_int(r, key, dest))
20 *dest = def;
21}
22
23static void repo_cfg_ulong(struct repository *r, const char *key, unsigned long *dest,
24 unsigned long def)

Callers 1

prepare_repo_settingsFunction · 0.85

Calls 1

repo_config_get_intFunction · 0.85

Tested by

no test coverage detected