From: Michael S. Tsirkin Date: Mon, 16 Apr 2007 14:40:38 GMT Subject: [PATCH] remove shortlog from git-commit output Message-ID: <20070416144038.GA32515@mellanox.co.il> In-Reply-To: <7vk5wcx3cd.fsf@assigned-by-dhcp.cox.net> Make git-commit only display --summary since addition/deletion are notable events that do not happen with every commit. Signed-off-by: Michael S. Tsirkin --- > > BTW, Junio, why does git-commit need to display the diffstat? > > You just made the commit ... > > Don't ask me. It was not my idea. > > We only had --summary per popular list request, and it made > certain amount of sense since addition/deletion are notable > events that do not happen with _every_ commit. So how about this? diff --git a/git-commit.sh b/git-commit.sh index f28fc24..3e6866c 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -649,7 +649,7 @@ then fi if test -z "$quiet" then - commit=`git-diff-tree --always --shortstat --pretty="format:%h: %s"\ + commit=`git-diff-tree --always --pretty="format:%h: %s"\ --summary --root HEAD --` echo "Created${initial_commit:+ initial} commit $commit" fi -- MST