Add bold formatting to commit hash in console output.

This commit is contained in:
Paul Gauthier 2023-05-08 20:44:21 -07:00
parent d03a209ed0
commit cc50c380f8

View file

@ -519,7 +519,7 @@ class Coder:
repo.git.add(*relative_dirty_fnames) repo.git.add(*relative_dirty_fnames)
commit_result = repo.git.commit("-m", commit_message, "--no-verify") commit_result = repo.git.commit("-m", commit_message, "--no-verify")
commit_hash = repo.head.commit.hexsha[:7] commit_hash = repo.head.commit.hexsha[:7]
self.console.print(f"[green]{commit_hash} {commit_message}") self.console.print(f"[green bold]{commit_hash} {commit_message}")
return commit_hash, commit_message return commit_hash, commit_message