diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2012-09-11 18:11:26 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2012-10-25 17:42:32 +0200 |
| commit | aba70781771061e8f6df78f2af3f9ac395dd5f57 (patch) | |
| tree | 34eb33addd25d05d368d0f4aa6afe3b4453a8c06 /src/config.h | |
| parent | 383f164a09e46e7f5008073d00504a43478e0564 (diff) | |
| download | libgit2-aba70781771061e8f6df78f2af3f9ac395dd5f57.tar.gz | |
config: introduce git_config_rename_section()
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 16b8413b7..a0569ec93 100644 --- a/src/config.h +++ b/src/config.h @@ -27,4 +27,9 @@ extern int git_config_find_global_r(git_buf *global_config_path); extern int git_config_find_xdg_r(git_buf *system_config_path); extern int git_config_find_system_r(git_buf *system_config_path); +extern int git_config_rename_section( + git_repository *repo, + const char *old_section_name, /* eg "branch.dummy" */ + const char *new_section_name); /* NULL to drop the old section */ + #endif |
