Skip to content

Commit f00de6a

Browse files
committed
remote-branch-info: do not report 'contrib' and 'master' branches
These branches should never be deleted, anyway. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent cfddef5 commit f00de6a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

remote-branch-info.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ for ref in $(git for-each-ref refs/remotes/$remote --format='%(refname)')
2626
do
2727

2828
refname=${ref#refs/remotes/$remote/}
29+
case "$refname" in contrib|master) continue;; esac
2930
unmerged_count=$(git cherry master $ref | grep '^+' | wc -l)
3031
info=$(git log -n 1 --format='%an - %ar' $ref)
3132
echo $refname - $info - $unmerged_count unmerged

0 commit comments

Comments
 (0)