diff options
| author | Russell Belfer <rb@github.com> | 2012-03-30 14:40:50 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2012-03-30 14:40:50 -0700 |
| commit | 95dfb031f70601b12a9eb57229fd4aa9a51ddd54 (patch) | |
| tree | 1413fc2f40bdc3e1af6c5ff16f5550de142e6bf3 /src/config.h | |
| parent | bfc9ca595aa2f189743f2a7b9812f05def78ec88 (diff) | |
| download | libgit2-95dfb031f70601b12a9eb57229fd4aa9a51ddd54.tar.gz | |
Improve config handling for diff,submodules,attrs
This adds support for a bunch of core.* settings that affect
diff and status, plus fixes up some incorrect implementations
of those settings from before. Also, this cleans up the
handling of config settings in the new submodules code and
in the old attrs/ignore code.
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index c337a7a9d..82e98ce51 100644 --- a/src/config.h +++ b/src/config.h @@ -27,4 +27,7 @@ extern int git_config_find_system_r(git_buf *system_config_path); extern int git_config_parse_bool(int *out, const char *bool_string); +extern int git_config_lookup_map_value( + git_cvar_map *maps, size_t map_n, const char *value, int *out); + #endif |
