Skip to content

Commit 4e3053c

Browse files
committed
Revert the deletion of setupLocalGitRepo method
It has been unused earlier, but now used again in `AbstractTransportVersionFuncTest`
1 parent 802b50f commit 4e3053c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/transport/AbstractTransportVersionFuncTest.groovy

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,12 @@ class AbstractTransportVersionFuncTest extends AbstractGradleFuncTest {
116116
execute("git checkout -b main")
117117
execute("git checkout -b test")
118118
}
119+
120+
void setupLocalGitRepo() {
121+
execute("git init")
122+
execute('git config user.email "[email protected]"')
123+
execute('git config user.name "Build tool"')
124+
execute("git add .")
125+
execute('git commit -m "Initial"')
126+
}
119127
}

0 commit comments

Comments
 (0)