From d6c429b6f570948c603ea8a7ca4670f01224b4c4 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Mon, 6 Oct 2008 23:27:38 +0200 Subject: [PATCH] Show complete shortlog for small releases --- contrib/announcement.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contrib/announcement.sh b/contrib/announcement.sh index e32c979..c73934f 100755 --- a/contrib/announcement.sh +++ b/contrib/announcement.sh @@ -20,6 +20,9 @@ NEWS="${root}NEWS" SITES="${root}SITES" from="$(sed -n '7,/^tig-/p' < "$NEWS" | tail -n 1 | cut -d' ' -f 1)" to="${1-HEAD}" +short= + +test -n "$(git rev-list --skip=50 $from..$to)" && short=-s cat <