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
  • Loading branch information
eolivelli committed May 15, 2022
1 parent cc49e7c commit dbea538
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 @@ -406,6 +406,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 dbea538

Please sign in to comment.