mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-272962 git: fix encoding for gpg key usernames
GitOrigin-RevId: 1b5acf4abbfb7a1821fec6d9206dd504529181b9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d80bcdd795
commit
d04458bbef
@@ -41,6 +41,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.File;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.*;
|
||||
|
||||
import static git4idea.GitUtil.COMMENT_CHAR;
|
||||
@@ -873,6 +874,7 @@ public class GitImpl extends GitImplBase {
|
||||
try {
|
||||
GitExecutable gitExecutable = GitExecutableManager.getInstance().getExecutable(project);
|
||||
GeneralCommandLine command = gitExecutable.createBundledCommandLine(project, args);
|
||||
command.setCharset(StandardCharsets.UTF_8);
|
||||
|
||||
StringBuilder output = new StringBuilder();
|
||||
OSProcessHandler handler = new OSProcessHandler(command);
|
||||
|
||||
Reference in New Issue
Block a user