From 8b920f778ebee47c42953cba5fbad7542d7f957d Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 8 May 2023 17:17:41 -0700 Subject: [PATCH] show hash and message on commit --- coder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coder.py b/coder.py index 5408d5816..96c0a7cee 100755 --- a/coder.py +++ b/coder.py @@ -483,7 +483,7 @@ class Coder: repo.git.add(*relative_dirty_fnames) commit_result = repo.git.commit("-m", commit_message, "--no-verify") commit_hash = repo.head.commit.hexsha[:7] - self.console.print(f"[green]Commit successful. Short hash: {commit_hash}") + self.console.print(f"[green]{commit_hash} {commit_message}") return commit_hash