Skip to content

Commit

Permalink
little clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
caseymcc committed Jan 3, 2025
1 parent 50d3b30 commit 1bcc27d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aider/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,11 @@ def get_tracked_files(self):
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:
Expand Down

0 comments on commit 1bcc27d

Please sign in to comment.