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

Commit

Permalink
Add useNativeGit to Git Commit Id Plugin - to support working with wo…
Browse files Browse the repository at this point in the history
…rktrees (#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)
  • Loading branch information
eolivelli authored and BewareMyPower committed May 20, 2022
1 parent 373a42b commit 05f5d55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@
<includeOnlyProperty>^git.build.user.(email|name)$</includeOnlyProperty>
</includeOnlyProperties>
<commitIdGenerationMode>full</commitIdGenerationMode>
<!-- A workaround to make build work in a Git worktree, see https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/215 -->
<useNativeGit>true</useNativeGit>
</configuration>
</plugin>

Expand Down

0 comments on commit 05f5d55

Please sign in to comment.