threads / patch / 13208

patchpost-receive-email: add --dirstat output to update_branch summary section

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

## tl;dr

One message between Apr 22, 2008 and Apr 22, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Andy Parkins· Apr 22, 2008, 09:30 UTC · lore
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
---
 contrib/hooks/post-receive-email |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Show changes to contrib/hooks/post-receive-email +1 −0
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

← back to recent threads