mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
blame for .scm files too
This commit is contained in:
parent
1677f7ede8
commit
fb8afa5228
1 changed files with 3 additions and 2 deletions
|
@ -17,12 +17,13 @@ def blame(start_tag, end_tag=None):
|
||||||
|
|
||||||
authors = get_commit_authors(commits)
|
authors = get_commit_authors(commits)
|
||||||
|
|
||||||
py_files = run(["git", "ls-files", "*.py"]).strip().split("\n")
|
files = run(["git", "ls-files", "*.py"]).strip().split("\n")
|
||||||
|
files += run(["git", "ls-files", "*.scm"]).strip().split("\n")
|
||||||
|
|
||||||
all_file_counts = {}
|
all_file_counts = {}
|
||||||
grand_total = defaultdict(int)
|
grand_total = defaultdict(int)
|
||||||
aider_total = 0
|
aider_total = 0
|
||||||
for file in py_files:
|
for file in files:
|
||||||
file_counts = get_counts_for_file(start_tag, end_tag, authors, file)
|
file_counts = get_counts_for_file(start_tag, end_tag, authors, file)
|
||||||
if file_counts:
|
if file_counts:
|
||||||
all_file_counts[file] = file_counts
|
all_file_counts[file] = file_counts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue