From 025503098887f706c3806dc6c0fd0fc39dfa0f60 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 31 Jul 2024 10:51:09 -0300 Subject: [PATCH] feat: add message for non-all-since runs The commit adds a message to the output when the `--all-since` option is not used, which prints the percentage of code written by Aider in the current release. --- scripts/blame.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/blame.py b/scripts/blame.py index d8190aab1..b1227c94a 100755 --- a/scripts/blame.py +++ b/scripts/blame.py @@ -163,6 +163,9 @@ def main(): f.write(yaml_output) else: print(yaml_output) + + if not args.all_since: + print(f"- Aider wrote {round(aider_percentage)}% of the code in this release.") def get_counts_for_file(start_tag, end_tag, authors, fname):