refactor: remove redundant exception handling in GitRepo

This commit is contained in:
Paul Gauthier 2025-01-04 11:09:55 -08:00 committed by Paul Gauthier (aider)
parent d9ef23ad99
commit 606cd0368f

View file

@ -294,8 +294,6 @@ class GitRepo:
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: