From: Yann Dirson Date: Thu, 15 Mar 2007 00:27:15 GMT Subject: [PATCH 09/10] Add support for unsetting config vars. Message-ID: <20070315002715.9094.93088.stgit@gandelf.nowhere.earth> In-Reply-To: <20070315001808.9094.68529.stgit@gandelf.nowhere.earth> Signed-off-by: Yann Dirson --- stgit/config.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/stgit/config.py b/stgit/config.py index b016fbd..79cd12f 100644 --- a/stgit/config.py +++ b/stgit/config.py @@ -103,6 +103,9 @@ class GitConfig: def set(self, name, value): self.__run('git-repo-config', [name, value]) + def unset(self, name): + self.__run('git-repo-config --unset', [name]) + def sections_matching(self, regexp): """Takes a regexp with a single group, matches it against all config variables, and returns a list whose members are the