git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] post-receive-email: add --dirstat output to update_branch summary section

From
APAndy Parkins <andyparkins@gmail.com>
Date
Apr 22, 2008, 09:30 UTC
Message-ID
<200804221030.31805.andyparkins@gmail.com>
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
---
 contrib/hooks/post-receive-email |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email
index 62a740c..2e706b3 100644
--- a/contrib/hooks/post-receive-email
+++ b/contrib/hooks/post-receive-email
@@ -410,6 +410,8 @@ generate_update_branch_email()
 	# non-fast forward updates.
 	echo ""
 	echo "Summary of changes:"
+	git diff --dirstat $oldrev..$newrev
 	git diff-tree --stat --summary --find-copies-harder $oldrev..$newrev
 }
 
-- 
1.5.5.1.57.g5909c
Message 1 of 1 in “post-receive-email: add --dirstat output to update_branch summary section”
  1. post-receive-email: add --dirstat output to update_branch summary sectionAndy Parkins, Apr 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.