Commit 920e000d by Vicent Marti

config: Update examples

parent dbe70bd5
......@@ -425,7 +425,7 @@ int main (int argc, char** argv)
git_config *cfg;
// Open a config object so we can read global values from it.
git_config_open_global(&cfg);
git_config_open_ondisk(&cfg, "~/.gitconfig");
git_config_get_int(cfg, "help.autocorrect", &j);
printf("Autocorrect: %d\n", j);
......
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