+2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * post-receive: Add log count to header.
+
2010-09-02 Teodor Zlatanov <tzz@lifelogs.com>
* post-receive: More subject formatting.
# that we can build from the parameters
describe=$(git describe $rev 2>/dev/null)
if [ -z "$describe" ]; then
- describe=$((git log --format="%s" $oldrev...$newrev | perl -e'@p = <>; chomp @p; print join " ; ", @p') 2>/dev/null)
+ describe=$((git log --format="%s" $oldrev...$newrev | perl -e'@p = <>; chomp @p; print "=", scalar @p, "= ", join(" ; ", @p)') 2>/dev/null)
fi
if [ -z "$describe" ]; then