#!/bin/bash
|
|
|
|
if ! git rev-parse --verify refs/notes/review &>/dev/null; then
|
|
echo 'fetching notes...';
|
|
git fetch origin +refs/notes/review:refs/notes/review &> /dev/null
|
|
fi
|
|
git log --show-notes=review "$@" | grep 'Code-Review+2' | sort | uniq -c | sort -rn | tail -n10
|