Get CommitMessage by commitID
Answered
I'm developing a IDEA plugin with idea4git and I need to get commit message by commit id which is get from VcsFullCommitDetails.getId.asString
.
I think I can get it by GitHistoryUtils.collectCommitsMetadata
but I have no idea have to use it.Can anyone give me some suggestion?what's more, If I want to get changeList of the commit,which method should I use?
Please sign in to leave a comment.
I found the solution. By using
GitHistoryUtils.loadDetails
can get commit detail. Here is the code below: