@@ -2,11 +2,11 @@
22# generate preliminary list of changes since changelog
33# was last modified
44
5−lastmod=`git log -n2 --format=oneline changelog | awk '{print $1;}'`
6−#git log --format=oneline $starthash..HEAD
7−files=`git ls-tree -r master --name-only`
5+lastmod=`git log -n1 --format=oneline changelog.md | awk '{print $1;}'`
6+files=`git ls-tree -r master --name-only | grep --invert-match '^test\/\|^data\/docx\/\|^data\/odt\/\|^data\/pptx\/\|^citeproc\/\|^data\/translations\/'`
87for x in $files
98do
9+ echo $x 1>&2
1010 commits=`git log -n1 $lastmod..HEAD $x`
1111 if [ ! -z "$commits" ]
1212 then
@@ -17,7 +17,14 @@ do
1717 file=$x
1818 fi
1919 echo " * $file"
20− GIT_PAGER=cat git log --pretty=format:'%n%w(78,4,6)+ %s (%aN)%n%n%w(78,6,6)%b%n' -- "$lastmod..HEAD" "$x"
20+ git log --pretty=format:'%n%w(78,4,6)+ %s (%aN)%n%n%w(78,6,6)%b%n' "$lastmod..HEAD" "$x"
2121 fi
2222done
23+echo "test/" 1>&2
24+git log --pretty=format:'%n%w(78,4,6)+ %s (%aN)%n%n%w(78,6,6)%b%n' "$lastmod..HEAD" test/
25+git log --pretty=format:'%n%w(78,4,6)+ %s (%aN)%n%n%w(78,6,6)%b%n' "$lastmod..HEAD" data/docx/
26+git log --pretty=format:'%n%w(78,4,6)+ %s (%aN)%n%n%w(78,6,6)%b%n' "$lastmod..HEAD" data/odt/
27+git log --pretty=format:'%n%w(78,4,6)+ %s (%aN)%n%n%w(78,6,6)%b%n' "$lastmod..HEAD" data/pptx/
28+git log --pretty=format:'%n%w(78,4,6)+ %s (%aN)%n%n%w(78,6,6)%b%n' "$lastmod..HEAD" data/translations/
29+git log --pretty=format:'%n%w(78,4,6)+ %s (%aN)%n%n%w(78,6,6)%b%n' "$lastmod..HEAD" citeproc/
2330