Commit Diff


commit - 441d9306478dfc5a0d90212848a63aac048905ec
commit + f9dc57c9bca64c66b8a05729bacab156282caf6f
blob - 7bb79a50f90df082662a6d5efd79c96ed93a9101
blob + 62923fe925843dfcc2cce67c032a1893d1580c47
--- swh/loader/git/loader.py
+++ swh/loader/git/loader.py
@@ -690,7 +690,7 @@ class GitLoader(BaseGitLoader):
         def pack_index_progress(i, num_objects):
             nonlocal percent_done
             p = int(i * 100 / num_objects)
-            if p != percent_done:
+            if p != percent_done and p % 10 == 0:
                 logger.debug(f"Indexing pack file: {p}%")
                 percent_done = p