diff --git a/scripts/schhist2web b/scripts/schhist2web index 2ebc32c..c29ef05 100755 --- a/scripts/schhist2web +++ b/scripts/schhist2web @@ -64,14 +64,16 @@ commit_entry()
" - ( cd "$dir" && git show --pretty=short --quiet $next; ) | + ( cd "$dir" && git show \ + --pretty=format:"%aN <%aE>%n%ad, %ar%n%n %s" \ + --quiet $next; ) | + sed 's/&/&/g;s/\</g;s/>/\>/g' | if [ -z "$SCHHIST_COMMIT_TEMPLATE" ]; then cat else url=`echo "$SCHHIST_COMMIT_TEMPLATE" | sed "s/{}/$next/g"` - sed "s|^commit |commit |" - fi | - sed '/^<.*>commit/\>/g' + sed "1s|^|\>\>\> |" + fi echo "" }