diff --git a/src/main/scala/util/JGitUtil.scala b/src/main/scala/util/JGitUtil.scala index 4ade4b0..af71638 100644 --- a/src/main/scala/util/JGitUtil.scala +++ b/src/main/scala/util/JGitUtil.scala @@ -318,7 +318,7 @@ * @return the commit list */ def getCommitLog(git: Git, from: String, to: String): List[CommitInfo] = - getCommitLogFrom(git, from)(_.getName == from) + getCommitLogFrom(git, to)(_.getName == from) /** * Returns the latest RevCommit of the specified path.