mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
fix: move dict init into __init__
This commit is contained in:
parent
f64cdfa72a
commit
4e5e9b4a1a
2 changed files with 3 additions and 9 deletions
|
@ -36,6 +36,9 @@ class GitRepo:
|
|||
self.io = io
|
||||
self.models = models
|
||||
|
||||
self.normalized_path = {}
|
||||
self.tree_files = {}
|
||||
|
||||
self.attribute_author = attribute_author
|
||||
self.attribute_committer = attribute_committer
|
||||
self.attribute_commit_message = attribute_commit_message
|
||||
|
@ -229,8 +232,6 @@ class GitRepo:
|
|||
|
||||
return diffs
|
||||
|
||||
tree_files = {}
|
||||
|
||||
def get_tracked_files(self):
|
||||
if not self.repo:
|
||||
return []
|
||||
|
@ -260,8 +261,6 @@ class GitRepo:
|
|||
|
||||
return res
|
||||
|
||||
normalized_path = {}
|
||||
|
||||
def normalize_path(self, path):
|
||||
orig_path = path
|
||||
res = self.normalized_path.get(orig_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue