From 839b241f0c1b8ee670be207688228e8ea71602b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Sat, 23 Feb 2019 13:02:36 +0100 Subject: [PATCH] git: fix RmConfigs --- repository/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/git.go b/repository/git.go index 836de8f0..c982f820 100644 --- a/repository/git.go +++ b/repository/git.go @@ -204,7 +204,7 @@ func (repo *GitRepo) ReadConfigs(keyPrefix string) (map[string]string, error) { // RmConfigs remove all key/value pair matching the key prefix func (repo *GitRepo) RmConfigs(keyPrefix string) error { - _, err := repo.runGitCommand("config", "--remove-section", keyPrefix) + _, err := repo.runGitCommand("config", "--unset-all", keyPrefix) return err }