Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/git-command-manager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts
index 36cdb47..8431658 100644
--- a/src/git-command-manager.ts
+++ b/src/git-command-manager.ts
@@ -510,7 +510,7 @@ class GitCommandManager {
} else {
args.push(globalConfig ? '--global' : '--local')
}
- args.push('--unset', configKey, configValue)
+ args.push('--unset', configKey, regexpHelper.escape(configValue))
const output = await this.execGit(args, true)
return output.exitCode === 0