Skip to content

Commit 2b637ad

Browse files
author
Vladimir Kotal
committed
fix date to match the original values
1 parent a3748aa commit 2b637ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/GitRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ History getHistory(File file, String sinceRevision) throws HistoryException {
642642
}
643643

644644
HistoryEntry historyEntry = new HistoryEntry(commit.getId().abbreviate(GIT_ABBREV_LEN).name(),
645-
new Date((long) commit.getCommitTime() * 1000),
645+
commit.getAuthorIdent().getWhen(),
646646
commit.getAuthorIdent().getName() +
647647
" <" + commit.getAuthorIdent().getEmailAddress() + ">",
648648
null, commit.getFullMessage(), true);

0 commit comments

Comments
 (0)