little clean up

This commit is contained in:
Krazer 2025-01-03 09:07:27 -06:00
parent 50d3b305d4
commit 1bcc27d2be

View file

@ -291,9 +291,11 @@ class GitRepo:
blob = next(iterator)
if blob.type == "blob": # blob is a file
files.add(blob.path)
except (IndexError,) + ANY_GIT_ERROR:
except IndexError:
self.io.tool_warning(f"GitRepo: read error skipping {blob.path}")
continue
except ANY_GIT_ERROR as err:
raise err
except StopIteration:
break
except ANY_GIT_ERROR as err: