Compare commits

..

1 Commits

Author SHA1 Message Date
Aiqiao Yan f43caed52e escape values passed to --unset 2026-07-17 17:14:09 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35913,7 +35913,7 @@ class GitCommandManager {
else {
args.push(globalConfig ? '--global' : '--local');
}
args.push('--unset', configKey, configValue);
args.push('--unset', configKey, regexp_helper_escape(configValue));
const output = await this.execGit(args, true);
return output.exitCode === 0;
}
+1 -1
View File
@@ -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