Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
277 B

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