Go through the entire repo if no log limit has been set
This commit is contained in:
parent
5f71f435f7
commit
741709c8d5
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ func generateRepo(path string, logLimit int) error {
|
|||
|
||||
slog.Debug("Processing commit", "hash", c.Hash)
|
||||
|
||||
if i > logLimit {
|
||||
if logLimit != 0 && i > logLimit {
|
||||
remaining++
|
||||
slog.Debug("Limit reached while processing log", "iteration", i, "remaining", remaining)
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue