mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
cache aiderignore
This commit is contained in:
parent
583c3285ec
commit
2e6c785c3b
2 changed files with 22 additions and 7 deletions
|
@ -209,6 +209,13 @@ class TestRepo(unittest.TestCase):
|
|||
self.assertNotIn(str(fname), fnames)
|
||||
self.assertIn(str(fname2), fnames)
|
||||
|
||||
Path(".aiderignore").write_text("new2.txt\n")
|
||||
|
||||
# new2.txt should be gone!
|
||||
fnames = git_repo.get_tracked_files()
|
||||
self.assertIn(str(fname), fnames)
|
||||
self.assertNotIn(str(fname2), fnames)
|
||||
|
||||
def test_get_tracked_files_from_subdir(self):
|
||||
with GitTemporaryDirectory():
|
||||
# new repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue