fix(interpreter): correct typo in gen_commit.py
This commit is contained in:
parent
e8b7c38961
commit
707f6d429b
@ -16,7 +16,7 @@ def get_git_credentials():
|
|||||||
|
|
||||||
def get_git_diff(project_path):
|
def get_git_diff(project_path):
|
||||||
"""Run git diff and return the output."""
|
"""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()
|
return result.strip()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user