blob: 1b6b430f803c9a24d619afd20da7bf8855576c37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env bash
#
# Show a summary of changes, eg: 'git changes 2 src' shows two days of changes
# in the 'src' directory.
#
re='^[0-9]+'
if [[ $1 =~ $re ]]
then
days=${1}
shift
else
days='1'
fi
git shortlog \
--invert-grep --author="Bot" \
--since=$days.days "$@"
|