Skip to content

Commit

Permalink
Merge pull request #3269 from hdurix/not-signing-commit
Browse files Browse the repository at this point in the history
Prevent commit signing
  • Loading branch information
hdurix authored Aug 26, 2022
2 parents 2886f86 + 2b38799 commit e731a8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void commitAll(JHipsterProjectFolder folder, GitCommitMessage message) {
try (Git gitFolder = Git.open(folderFile);) {
gitFolder.add().addFilepattern(".").call();

gitFolder.commit().setMessage(message.get()).call();
gitFolder.commit().setSign(false).setMessage(message.get()).call();
} catch (IOException | GitAPIException | JGitInternalException e) {
throw new GitCommitException("Can't commit :" + e.getMessage(), e);
}
Expand Down

0 comments on commit e731a8d

Please sign in to comment.