if ! acl_read "$page_abs"; then
return 0
-elif [ ! "$(which git)" ]; then
+elif [ "$REV_PAGES" != true ]; then
printf '<div class="macro revisions error">GIT is not available to handle revisioning.</div>'
fi
} | while read -r hash date message; do
user="${message% @*}"; user="${user##*@ }"
printf '<li><span class="hash"><a href="%s">%s</a></span><span class="date">%s</span><span class="user">%s</span></li>\n' \
- "$(HTML "${page%/}/[revisions]/$hash")" "$(HTML "$hash")" "$(HTML "$date")" "$(HTML "$user")"
+ "$(HTML "${page%/}/[revision]/$hash")" "$(HTML "$hash")" "$(HTML "$date")" "$(HTML "$user")"
done
printf '</ul>\n'