Skip to contentSkip to conversation

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

PATCH New Andy Parkins 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 post-receive-email: add --dirstat output to update_branch summary section

---
 contrib/hooks/post-receive-email |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
contrib/hooks/post-receive-email +1 -0
index 62a740c..2e706b3 100644
@@ -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
 }
 
Signature · 1 line
1.5.5.1.57.g5909c