mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-26 07:08:28 +02:00
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
This commit is contained in:
parent
ab89a00f5c
commit
6bef1d9458
@ -64,14 +64,16 @@ commit_entry()
|
|||||||
<TABLE bgcolor="$SEP_COLOR" cellspacing=0 width="100%"><TR><TD></TABLE>
|
<TABLE bgcolor="$SEP_COLOR" cellspacing=0 width="100%"><TR><TD></TABLE>
|
||||||
EOF
|
EOF
|
||||||
echo "<PRE>"
|
echo "<PRE>"
|
||||||
( 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
|
if [ -z "$SCHHIST_COMMIT_TEMPLATE" ]; then
|
||||||
cat
|
cat
|
||||||
else
|
else
|
||||||
url=`echo "$SCHHIST_COMMIT_TEMPLATE" | sed "s/{}/$next/g"`
|
url=`echo "$SCHHIST_COMMIT_TEMPLATE" | sed "s/{}/$next/g"`
|
||||||
sed "s|^commit |<A href=\"$url\">commit</a> |"
|
sed "1s|^|<A href=\"$url\"><B>\>\>\></B></a> |"
|
||||||
fi |
|
fi
|
||||||
sed '/^<.*>commit</n;s/&/&/g;s/</\</g;s/>/\>/g'
|
|
||||||
echo "</PRE>"
|
echo "</PRE>"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user