summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3f25aec)
raw | patch | inline | side by side (parent: 3f25aec)
author | Jonas Fonseca <fonseca@diku.dk> | |
Mon, 6 Oct 2008 21:27:38 +0000 (23:27 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 7 Oct 2008 09:58:19 +0000 (11:58 +0200) |
contrib/announcement.sh | patch | blob | history |
index e32c979e05f82dcb08fda77811460c3a53555800..c73934fb301a1ff232870146eea09bdea15e287c 100755 (executable)
--- a/contrib/announcement.sh
+++ b/contrib/announcement.sh
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 <<EOF
$to
Change summary
--------------
-The diffstat and shortlog summary for changes made in this release.
-
-$(git shortlog -s $from..$to)
+The diffstat and log summary for changes made in this release.
$(git diff-tree --stat=72 $from..$to)
+
+$(git shortlog $short $from..$to)
EOF