Add support for more file types in the blame script

This commit is contained in:
Paul Gauthier 2024-07-31 08:50:49 -03:00 committed by Paul Gauthier (aider)
parent 6888b07ea0
commit c7884c94f6

View file

@ -17,7 +17,7 @@ def blame(start_tag, end_tag=None):
authors = get_commit_authors(commits)
pats = "*.py *.scm **Dockerfile".split()
pats = "*.py *.scm *.sh **Dockerfile **Gemfile .github/workflows/*.yml".split()
files = []
for pat in pats:
files += run(["git", "ls-files", pat]).strip().split("\n")