refactor: Remove unnecessary .gitignore commit in test setup

This commit is contained in:
Paul Gauthier 2024-11-13 13:22:45 -08:00 committed by Paul Gauthier (aider)
parent 1450c4194e
commit 20d87e1136

View file

@ -1217,8 +1217,6 @@ class TestCommands(TestCase):
# Create and commit a .gitignore file # Create and commit a .gitignore file
gitignore = Path(".gitignore") gitignore = Path(".gitignore")
gitignore.write_text("*.ignored\n") gitignore.write_text("*.ignored\n")
repo.git.add(".gitignore")
repo.git.commit("-m", "Add .gitignore")
# Create a file that matches the gitignore pattern # Create a file that matches the gitignore pattern
ignored_file = Path("test.ignored") ignored_file = Path("test.ignored")