Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit 05f5d55

Browse files
eolivelliBewareMyPower
authored andcommitted
Add useNativeGit to Git Commit Id Plugin - to support working with worktrees (#1285)
### Motivation You cannot use git worktrees in KOP development. ### Modifications see git-commit-id/git-commit-id-maven-plugin#215 (cherry picked from commit dbea538)
1 parent 373a42b commit 05f5d55

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
@@ -386,6 +386,8 @@
386386
<includeOnlyProperty>^git.build.user.(email|name)$</includeOnlyProperty>
387387
</includeOnlyProperties>
388388
<commitIdGenerationMode>full</commitIdGenerationMode>
389+
<!-- A workaround to make build work in a Git worktree, see https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/215 -->
390+
<useNativeGit>true</useNativeGit>
389391
</configuration>
390392
</plugin>
391393

0 commit comments

Comments
 (0)