mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[git] GitExecutor: fix logging calls to git commands.
This commit is contained in:
@@ -38,6 +38,7 @@ class GitExecutor extends Executor {
|
||||
printVersionTheFirstTime();
|
||||
def split = StringUtil.split(command, " ")
|
||||
split.add(0, GIT_EXECUTABLE)
|
||||
log("git $command")
|
||||
for (int attempt = 0; attempt < 3; attempt++) {
|
||||
String stdout = run(split);
|
||||
if (stdout.contains("fatal") && stdout.contains("Unable to create") && stdout.contains(".git/index.lock")) {
|
||||
|
||||
Reference in New Issue
Block a user