Date:2010-08-30 09:46:19 (9 years 21 days ago)
Author:Werner Almesberger
Commit:6bef1d9458409568ba7a7d6617e725ea7710d1e8
Message:Commit entries now show date date, not the hash.

- scripts/schps2pdf: changed commit entry format from commit hash and author
to author and date
- scripts/schps2pdf: reordered sanitizing of commit entry to avoid having
to special-case the link
Files: scripts/schhist2web (1 diff)

Change Details

scripts/schhist2web
6464<TABLE bgcolor="$SEP_COLOR" cellspacing=0 width="100%"><TR><TD></TABLE>
6565EOF
6666    echo "<PRE>"
67    ( cd "$dir" && git show --pretty=short --quiet $next; ) |
67    ( cd "$dir" && git show \
68        --pretty=format:"%aN <%aE>%n%ad, %ar%n%n %s" \
69    --quiet $next; ) |
70      sed 's/&/&amp;/g;s/</\&lt;/g;s/>/\&gt;/g' |
6871      if [ -z "$SCHHIST_COMMIT_TEMPLATE" ]; then
6972    cat
7073      else
7174    url=`echo "$SCHHIST_COMMIT_TEMPLATE" | sed "s/{}/$next/g"`
72    sed "s|^commit |<A href=\"$url\">commit</a> |"
73      fi |
74      sed '/^<.*>commit</n;s/&/&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'
75    sed "1s|^|<A href=\"$url\"><B>\&gt;\&gt;\&gt;</B></a> |"
76      fi
7577    echo "</PRE>"
7678}
7779

Archive Download the corresponding diff file



interactive