fi done {endcode} +The following script accepts output from the above program and produces a readable output that can be emailed to htcondor-devel: +{code} +#!/bin/bash + +grep '^git tag' | \ +sed 's/.\+refs\/remotes\/origin\//refs\/remotes\/origin\//;s/ ||.\+//' | \ +while read ref; \ + do echo "${ref##*/} $(git rev-list --count --left-right origin/master...${ref} | awk '{if($2 == "0") print "merged"; else print "unmerged"}') $(git log -1 --pretty=format:'%ct %an' $ref)"; done | \ +sort -k2,2 -k4 | \ +while read branch status authd author; \ + do printf "%-45s %10s %s %s\n" "$branch" "$status" "$(date -d @$authd +'%F')" "$author"; +done +{endcode}