diff --git a/src/git/models/repository.ts b/src/git/models/repository.ts index 2f210c0..017ea6c 100644 --- a/src/git/models/repository.ts +++ b/src/git/models/repository.ts @@ -1072,7 +1072,7 @@ export class Repository implements Disposable { } private runTerminalCommand(command: string, ...args: string[]) { - const parsedArgs = args.map(arg => (arg.startsWith('#') || /['();$|>&]/.test(arg) ? `"${arg}"` : arg)); + const parsedArgs = args.map(arg => (arg.startsWith('#') || /['();$|>&<]/.test(arg) ? `"${arg}"` : arg)); runGitCommandInTerminal(command, parsedArgs.join(' '), this.path, true); setTimeout(() => this.fireChange(RepositoryChange.Unknown), 2500);