Go through the entire repo if no log limit has been set

This commit is contained in:
Miguel de la Cruz 2024-07-14 12:02:31 +02:00
parent 5f71f435f7
commit 741709c8d5

View file

@ -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