Add debug prints to blame.py for better troubleshooting.

This commit is contained in:
Paul Gauthier 2024-05-24 08:21:26 -07:00
parent b533cfe2be
commit 0bf4b72a6e

View file

@ -12,9 +12,12 @@ def get_aider_commits():
) )
commits = [] commits = []
for line in result.stdout.splitlines(): for line in result.stdout.splitlines():
print(line)
commit_hash, commit_message = line.split(" ", 1) commit_hash, commit_message = line.split(" ", 1)
if commit_message.startswith("aider:"): if commit_message.startswith("aider:"):
commits.append(commit_hash) commits.append(commit_hash)
dump(commits)
return commits return commits
def get_blame_lines(commit_hash): def get_blame_lines(commit_hash):