标签: git jgit
或者只是两个日期之间发生的所有提交?在SVN中,您可以执行类似svn diff -r{date}:{date}的操作!
svn diff -r{date}:{date}
答案 0 :(得分:5)
您可以举例说明JGit test class RevWalkFilterTest.java:
RevWalkFilterTest.java
Date since = getClock(); Date until = getClock(); RevFilter between = CommitTimeRevFilter.between(since, until);
它使用班级org.eclipse.jgit.revwalk.filter.CommitTimeRevFilter。
org.eclipse.jgit.revwalk.filter.CommitTimeRevFilter