Skip to content

Commit 8b0e9c8

Browse files
committed
Revert the deletion of setupLocalGitRepo method
It has been unused earlier, but now used again in `AbstractTransportVersionFuncTest`
1 parent b1d8282 commit 8b0e9c8

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
@@ -119,4 +119,12 @@ class AbstractTransportVersionFuncTest extends AbstractGradleFuncTest {
119119
execute("git checkout -b main")
120120
execute("git checkout -b test")
121121
}
122+
123+
void setupLocalGitRepo() {
124+
execute("git init")
125+
execute('git config user.email "[email protected]"')
126+
execute('git config user.name "Build tool"')
127+
execute("git add .")
128+
execute('git commit -m "Initial"')
129+
}
122130
}

0 commit comments

Comments
 (0)