Re: [PATCH] display shortlog after git-commit
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:02
Too noisy for a default.
2 messages, 2 authors, 2016-06-15 · open the first message on its own page
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:02
Too noisy for a default.
From: Michael S. Tsirkin <hidden>
Date: 2016-06-15 22:43:04
Display the subject of the commit just made. Signed-off-by: Michael S. Tsirkin <redacted> ---
Quoting Junio C Hamano [off-list ref]: Subject: Re: [PATCH] display shortlog after git-commit Too noisy for a default.
So maybe the following isn't too bad? This results in: $ ./git-commit.sh --amend Created commit 5633ddde0e35210f607bde063bcbf709e4d20a8d Display the subject of the commit just made. 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-commit.sh b/git-commit.sh
index 9e0959a..b2b90f0 100755
--- a/git-commit.sh
+++ b/git-commit.sh@@ -650,7 +650,7 @@ then if test -z "$quiet" then echo "Created${initial_commit:+ initial} commit $commit" - git-diff-tree --shortstat --summary --root --no-commit-id HEAD -- + git-diff-tree --shortstat --pretty="format:%s" --summary --root --no-commit-id HEAD -- fi fi
--
MST