Sync with upstream
[llpp.git] / misc / cutrel
blobe43cacbb53caf6e1fbd9c718a4350068679f9324
1 #!/bin/sh
2 set -e
3 range="$1..${2-HEAD}"
4 (echo "Summary $range"
5 git shortlog --no-merges -s $range
6 printf "\nDiffstat $range\n"
7 git diff --stat $range) | xclip -i
8 xclip -o