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 <mst@xxxxxxxxxxxxxxxxxx> --- > > 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html