Skip to content

Commit c827872

Browse files
author
Vladimir Kotal
committed
fix GitRepository#getFirstRevision()
--max-count is applied before --reverse
1 parent 754a7a3 commit c827872

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,6 @@ private String getFirstRevision(String fullpath) throws IOException {
389389
ensureCommand(CMD_PROPERTY_KEY, CMD_FALLBACK),
390390
"rev-list",
391391
"--reverse",
392-
"--max-count=1",
393392
"HEAD",
394393
"--",
395394
fullpath

0 commit comments

Comments
 (0)