Skip to content

Commit 6a63d25

Browse files
ksobolewhashhar
authored andcommitted
Set useNativeGit in git-commit-id-plugin
This is a workaround for inability to build Trino in a git worktree. This is a long-standing issue in the plugin, see git-commit-id/git-commit-id-maven-plugin#215.
1 parent b75805a commit 6a63d25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,6 +1786,8 @@
17861786
<runOnlyOnce>true</runOnlyOnce>
17871787
<injectAllReactorProjects>true</injectAllReactorProjects>
17881788
<offline>true</offline>
1789+
<!-- A workaround to make build work in a Git worktree, see https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/215 -->
1790+
<useNativeGit>true</useNativeGit>
17891791
</configuration>
17901792
</plugin>
17911793
</plugins>

0 commit comments

Comments
 (0)