Use the authorName as committer to avoid the inconsistency with name in git clients (#10518)
This commit is contained in:
parent
10e64df1e5
commit
31f02df54f
|
|
@ -103,6 +103,7 @@ public class GitExecutorImpl implements GitExecutor {
|
|||
// Only make a commit if there are any updates
|
||||
.setAllowEmpty(false)
|
||||
.setAuthor(finalAuthorName, finalAuthorEmail)
|
||||
.setCommitter(finalAuthorName, finalAuthorEmail)
|
||||
.call();
|
||||
return "Committed successfully!";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user