diff options
Diffstat (limited to 'morphlib/sysbranchdir.py')
-rw-r--r-- | morphlib/sysbranchdir.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/morphlib/sysbranchdir.py b/morphlib/sysbranchdir.py index 19fba695..4351c6b3 100644 --- a/morphlib/sysbranchdir.py +++ b/morphlib/sysbranchdir.py @@ -61,11 +61,13 @@ class SystemBranchDirectory(object): def set_config(self, key, value): '''Set a configuration key/value pair.''' - cliapp.runcmd(['git', 'config', '-f', self._config_path, key, value]) + morphlib.git.gitcmd(cliapp.runcmd, 'config', '-f', + self._config_path, key, value) def get_config(self, key): '''Get a configuration value for a given key.''' - value = cliapp.runcmd(['git', 'config', '-f', self._config_path, key]) + value = morphlib.git.gitcmd(cliapp.runcmd, 'config', '-f', + self._config_path, key) return value.strip() def _find_git_directory(self, repo_url): |