diff --git a/scripts/interpreter/gen_commit.py b/scripts/interpreter/gen_commit.py index a62c776..47040be 100755 --- a/scripts/interpreter/gen_commit.py +++ b/scripts/interpreter/gen_commit.py @@ -16,7 +16,7 @@ def get_git_credentials(): def get_git_diff(project_path): """Run git diff and return the output.""" - result = os.popen(f'cd "{project_path}" && git diff').read() + result = os.popen(f'cd "{project_path}" && git diff --compact-summary').read() return result.strip()