blob: 33719ec76d350062720e89b711c074c5ade0c8df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
module="$1"
last="$2"
new="$3"
if [ -z "$module" -o -z "$last" -o -z "$new" ] ; then
echo "Usage: $0 module last-ref new-ref"
exit 1
fi
echo "Module $module - Tag $new"
#echo "git archive --prefix=$module-$new/ $new | lzma -9 > ../$module-$new.tar.lzma"
git log --no-merges $new ^$last > ../$module-ChangeLog-$new
git shortlog --no-merges $new ^$last > ../$module-ShortLog
git diff --stat --summary -M $last $new > ../$module-diffstat-$new
|