For our buildbot, I want to display the most recently-updated active (non-released) branches. Let\'s say I have a master
branch, as well as the following, from
Can't you just grep out branch2?
Basically, something like:
for branch in `git branch -r --no-merged origin/master`; do git for-each-ref --sort=-committerdate --format='%(committerdate:short) %(refname:short)' --count=15 refs/remotes/origin/ | grep $branch; done;
That worked for me given your sample output.