mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
Add support for Dockerfiles in the blame script
This commit is contained in:
parent
266f58416c
commit
6888b07ea0
1 changed files with 4 additions and 2 deletions
|
@ -17,8 +17,10 @@ def blame(start_tag, end_tag=None):
|
|||
|
||||
authors = get_commit_authors(commits)
|
||||
|
||||
files = run(["git", "ls-files", "*.py"]).strip().split("\n")
|
||||
files += run(["git", "ls-files", "*.scm"]).strip().split("\n")
|
||||
pats = "*.py *.scm **Dockerfile".split()
|
||||
files = []
|
||||
for pat in pats:
|
||||
files += run(["git", "ls-files", pat]).strip().split("\n")
|
||||
|
||||
all_file_counts = {}
|
||||
grand_total = defaultdict(int)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue