Commit 54ccc717 by Brandon Casey

examples/general.c: update for recent API renaming of git_config_get_int

git_config_get_int --> git_config_get_int32
parent d3104fa0
......@@ -430,14 +430,14 @@ int main (int argc, char** argv)
printf("\n*Config Listing*\n");
const char *email;
int j;
int32_t j;
git_config *cfg;
// Open a config object so we can read global values from it.
git_config_open_ondisk(&cfg, "~/.gitconfig");
git_config_get_int(cfg, "help.autocorrect", &j);
git_config_get_int32(cfg, "help.autocorrect", &j);
printf("Autocorrect: %d\n", j);
git_config_get_string(cfg, "user.email", &email);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment