X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=macros%2Frevisions;h=4271149cffbd8074d89f16d88418b26f5f842441;hb=295a04b184bb6cd427c35c58f88d3d35a0552ed8;hp=2bd83f5ae487d2f4f38b17a2e7401f9cda2e61da;hpb=11e2e4194921031543872e0df5cfaf4e5bfac07b;p=shellwiki diff --git a/macros/revisions b/macros/revisions index 2bd83f5..4271149 100755 --- a/macros/revisions +++ b/macros/revisions @@ -9,7 +9,7 @@ page_abs="$(page_abs "$page")" if ! acl_read "$page_abs"; then return 0 -elif [ ! "$(which git)" ]; then +elif [ "$REV_PAGES" != true ]; then printf '
GIT is not available to handle revisioning.
' fi @@ -22,6 +22,6 @@ printf '\n'